Sha256: d9a370e6fb3177f7972e1f94f07a909bf90ea8b306a0c7ad21f2a9c3ed4623a0
Contents?: true
Size: 386 Bytes
Versions: 6
Compression:
Stored size: 386 Bytes
Contents
#!/usr/bin/env ruby require 'digest/sha2' gemname = :defi ARGV[0] = File.read('VERSION.semver').chomp if ARGV[0].nil? built_gem_path = "pkg/#{gemname}-#{ARGV[0]}.gem" checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path)) checksum_path = "checksum/#{gemname}-#{ARGV[0]}.gem.sha512" File.open(checksum_path, 'w') { |f| f.write("#{checksum}\n") }
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
defi-1.1.3 | pkg_checksum |
defi-1.1.2 | pkg_checksum |
defi-1.1.1 | pkg_checksum |
defi-1.1.0 | pkg_checksum |
defi-1.0.0 | pkg_checksum |
defi-0.1.0 | pkg_checksum |