Sha256: 341a443fc610fd70025d4bbbfb867566e2a2b0b017bfcab317145055202eb4be
Contents?: true
Size: 426 Bytes
Versions: 2
Compression:
Stored size: 426 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'digest/sha2' gemname = 'r_spec'.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 |
---|---|
r_spec-0.3.3 | pkg_checksum |
r_spec-0.3.2 | pkg_checksum |