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.29.0 bake/modernize/signing.rb
bake-modernize-0.28.0 bake/modernize/signing.rb
bake-modernize-0.27.3 bake/modernize/signing.rb
bake-modernize-0.27.2 bake/modernize/signing.rb
bake-modernize-0.27.1 bake/modernize/signing.rb
bake-modernize-0.27.0 bake/modernize/signing.rb
bake-modernize-0.26.0 bake/modernize/signing.rb
bake-modernize-0.25.0 bake/modernize/signing.rb
bake-modernize-0.24.0 bake/modernize/signing.rb
bake-modernize-0.23.0 bake/modernize/signing.rb
bake-modernize-0.22.0 bake/modernize/signing.rb
bake-modernize-0.21.0 bake/modernize/signing.rb
bake-modernize-0.20.0 bake/modernize/signing.rb
bake-modernize-0.19.4 bake/modernize/signing.rb
bake-modernize-0.19.3 bake/modernize/signing.rb
bake-modernize-0.19.2 bake/modernize/signing.rb
bake-modernize-0.19.1 bake/modernize/signing.rb
bake-modernize-0.19.0 bake/modernize/signing.rb
bake-modernize-0.18.0 bake/modernize/signing.rb
bake-modernize-0.17.8 bake/modernize/signing.rb