Sha256: 61eaf376af8040d1b02c2f57599319ae0909e7554fd29754026fe643710e8d67

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'digest/sha2'

gemname         = :spectus
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

3 entries across 3 versions & 1 rubygems

Version Path
spectus-3.0.9 pkg_checksum
spectus-3.0.8 pkg_checksum
spectus-3.0.7 pkg_checksum