Sha256: 34c0afb5a2fdeb25cdede247a676998049de2c4cb2077a540d0e1b86c25f3ff3
Contents?: true
Size: 431 Bytes
Versions: 3
Compression:
Stored size: 431 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'digest/sha2' gemname = 'fix-command'.to_sym 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fix-command-0.5.4 | pkg_checksum |
fix-command-0.5.3 | pkg_checksum |
fix-command-0.5.2 | pkg_checksum |