Use proper Gem names for checksums.
This ensures that it also works for JRuby and the likes.
This commit is contained in:
parent
77bcf2f17b
commit
7db6732f14
|
@ -1,7 +1,7 @@
|
|||
desc 'Creates a SHA512 checksum of the current version'
|
||||
task :checksum do
|
||||
checksums = File.expand_path('../../checksum', __FILE__)
|
||||
name = "#{GEMSPEC.name}-#{GEMSPEC.version}.gem"
|
||||
name = "#{GEMSPEC.full_name}.gem"
|
||||
path = File.join(File.expand_path('../../pkg', __FILE__), name)
|
||||
|
||||
checksum_name = File.basename(path) + '.sha512'
|
||||
|
|
Loading…
Reference in New Issue