Sha256: 03e98926c5875c8cbdac3e2c5fe83567648cdfb918e42054064a6cc7408ce6a1

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 Bytes

Contents

# Released under the MIT License.
# Copyright, 2021, 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

1 entries across 1 versions & 1 rubygems

Version Path
bake-modernize-0.13.0 bake/modernize/signing.rb