Use shasum 256 on the release

This commit is contained in:
Rafael Mendonça França 2017-02-24 20:01:41 -05:00
parent bf8f42b2fe
commit 14ab460f8e
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
1 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ task :announce do
raise "Only valid for patch releases"
end
sums = "$ shasum *-#{version}.gem\n" + `shasum *-#{version}.gem`
sums = "$ shasum -a 256 *-#{version}.gem\n" + `shasum -a 256 *-#{version}.gem`
puts "Hi everyone,"
puts
@ -232,7 +232,7 @@ GitHub](https://github.com/rails/rails/compare/v#{previous_version}...v#{version
## SHA-1
If you'd like to verify that your gem is the same as the one I've uploaded,
please use these SHA-1 hashes.
please use these SHA-256 hashes.
Here are the checksums for #{version}: