Sha256: 56efa2f7ba1629731eec35466db2d6a68646916ebdce1ca0ca947836ae2ccdeb

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2021-2024, by Samuel Williams.

require "bake/modernize"

def signing
	update(root: Dir.pwd)
end

def update(root:)
	release_certificate_path = File.expand_path("~/.gem/release.cert")
	certificate_path = File.expand_path("release.cert", root)
	
	if File.exist?(release_certificate_path)
		FileUtils.cp(release_certificate_path, certificate_path)
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bake-modernize-0.31.0 bake/modernize/signing.rb
bake-modernize-0.30.0 bake/modernize/signing.rb