You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/12/08 13:16:26 UTC

[whimsy] branch master updated: += .dmg and .sh

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new dc8437b  += .dmg and .sh
dc8437b is described below

commit dc8437bb0cc5bd30bc2ceda30631f88be79125d3
Author: Sebb <se...@apache.org>
AuthorDate: Tue Dec 8 13:16:16 2020 +0000

    += .dmg and .sh
---
 tools/download_check.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/download_check.rb b/tools/download_check.rb
index d95562f..72d503a 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -39,7 +39,7 @@ $versions = Hash.new {|h1,k1| h1[k1]=Hash.new {|h2,k2| h2[k2]=Array.new} } # key
 # match an artifact
 # TODO detect artifacts by URL as well if possible
 # $1 = base, $2 = extension
-ARTIFACT_RE = %r{/([^/]+\.(tar|tar\.gz|deb|nbm|zip|tgz|tar\.bz2|jar|war|msi|exe|rar|rpm|nar|xml))(&action=download)?$}
+ARTIFACT_RE = %r{/([^/]+\.(tar|tar\.gz|deb|nbm|dmg|sh|zip|tgz|tar\.bz2|jar|war|msi|exe|rar|rpm|nar|xml))(&action=download)?$}
 
 def init
   # build a list of validation errors
@@ -279,6 +279,7 @@ VERIFY_TEXT = [
 ALIASES = {
     'sig' => 'asc',
     'pgp' => 'asc',
+    'pgpasc' => 'asc',
     'signature' => 'asc',
     'signature(.asc)' => 'asc',
     'ascsignature' => 'asc',