Sha256: 3418e5498216dcc91b5f208a70a2168181808a38c2a148a9c5cdb6386c692ab7

Contents?: true

Size: 395 Bytes

Versions: 8

Compression:

Stored size: 395 Bytes

Contents

#!/usr/bin/env ruby

require 'digest/sha2'

gemname         = :kraken_client
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
kraken_client-1.3.0 pkg_checksum
kraken_client-1.2.1 pkg_checksum
kraken_client-1.2 pkg_checksum
kraken_client-1.1.5 pkg_checksum
kraken_client-1.1.4 pkg_checksum
kraken_client-1.1.3 pkg_checksum
kraken_client-1.1.2 pkg_checksum
kraken_client-1.1.1 pkg_checksum