Sha256: ddba743201a3b554988c80474e60f8fae229528a5cbcb815b53c521d5c402bb1
Contents?: true
Size: 414 Bytes
Versions: 8
Compression:
Stored size: 414 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'digest/sha2' gemname = :aw 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
8 entries across 8 versions & 1 rubygems
Version | Path |
---|---|
aw-0.1.9 | pkg_checksum |
aw-0.1.8 | pkg_checksum |
aw-0.1.7 | pkg_checksum |
aw-0.1.6 | pkg_checksum |
aw-0.1.5 | pkg_checksum |
aw-0.1.4 | pkg_checksum |
aw-0.1.3 | pkg_checksum |
aw-0.1.2 | pkg_checksum |