Sha256: d75d4afa25e6eb347f2aaf158ad24c9fdafa00c747a9d44855fbb402b0033cad
Contents?: true
Size: 395 Bytes
Versions: 6
Compression:
Stored size: 395 Bytes
Contents
#!/usr/bin/env ruby require 'digest/sha2' gemname = :video_grabber 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