diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-27 01:03:50 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-27 01:03:50 +0000 |
commit | 6dd302ada90337b020c8866a50a2dea39fc48982 (patch) | |
tree | fbb9a57b4fac3c192e03570e0c06394f1cdc73b8 /tool | |
parent | ca24e581ba946362b66b21be86a16088ee9c026a (diff) | |
download | ruby-6dd302ada90337b020c8866a50a2dea39fc48982.tar.gz |
* tool/make-snapshot: show sha1 digest when making packages.
it's request from https://github.com/ruby/www.ruby-lang.org/issues/921
[fix GH-794]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 46387cf81a..717ae19225 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -2,6 +2,7 @@ # -*- coding: us-ascii -*- require 'uri' require 'digest/md5' +require 'digest/sha1' require 'digest/sha2' require 'fileutils' require 'tmpdir' @@ -34,7 +35,7 @@ each versions may be followed by optional @revision. USAGE end -DIGESTS = %w[MD5 SHA256 SHA512] +DIGESTS = %w[MD5 SHA1 SHA256 SHA512] PACKAGES = { "bzip" => %w".tar.bz2 bzip2 -c", "gzip" => %w".tar.gz gzip -c", |