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'
|
desc 'Creates a SHA512 checksum of the current version'
|
||||||
task :checksum do
|
task :checksum do
|
||||||
checksums = File.expand_path('../../checksum', __FILE__)
|
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)
|
path = File.join(File.expand_path('../../pkg', __FILE__), name)
|
||||||
|
|
||||||
checksum_name = File.basename(path) + '.sha512'
|
checksum_name = File.basename(path) + '.sha512'
|
||||||
|
|
Loading…
Reference in New Issue