Sha256: e1d324059ca109cb77ae1190b317f0d02e19c7c9cf82614e3e8e3b0480eff1a2

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

#!/usr/bin/env ruby

require 'digest/sha2'

gemname         = 'fix-let'.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

2 entries across 2 versions & 1 rubygems

Version Path
fix-let-0.1.1 pkg_checksum
fix-let-0.1.0 pkg_checksum