Sha256: e3743ac9826e2c0bd8979193ad5a157749f514c0a7aabf8f45abc19f8d815cc1

Contents?: true

Size: 433 Bytes

Versions: 43

Compression:

Stored size: 433 Bytes

Contents

# frozen_string_literal: true

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

43 entries across 43 versions & 1 rubygems

Version Path
bake-modernize-0.17.7 bake/modernize/signing.rb
bake-modernize-0.17.6 bake/modernize/signing.rb
bake-modernize-0.17.5 bake/modernize/signing.rb
bake-modernize-0.17.4 bake/modernize/signing.rb
bake-modernize-0.17.3 bake/modernize/signing.rb
bake-modernize-0.17.2 bake/modernize/signing.rb
bake-modernize-0.17.1 bake/modernize/signing.rb
bake-modernize-0.17.0 bake/modernize/signing.rb
bake-modernize-0.16.2 bake/modernize/signing.rb
bake-modernize-0.16.1 bake/modernize/signing.rb
bake-modernize-0.16.0 bake/modernize/signing.rb
bake-modernize-0.15.1 bake/modernize/signing.rb
bake-modernize-0.15.0 bake/modernize/signing.rb
bake-modernize-0.14.4 bake/modernize/signing.rb
bake-modernize-0.14.3 bake/modernize/signing.rb
bake-modernize-0.14.2 bake/modernize/signing.rb
bake-modernize-0.14.1 bake/modernize/signing.rb
bake-modernize-0.14.0 bake/modernize/signing.rb
bake-modernize-0.13.5 bake/modernize/signing.rb
bake-modernize-0.13.4 bake/modernize/signing.rb