Skip to content

Commit

Permalink
solve key errors for people that do not have a key
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Apr 24, 2013
1 parent 1fe7366 commit 22ddb70
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions soft_deletion.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Gem::Specification.new name, SoftDeletion::VERSION do |s|
s.homepage = "https://github.com/grosser/#{name}"
s.files = `git ls-files`.split("\n")
s.license = "MIT"
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
s.cert_chain = ["gem-public_cert.pem"]
key = File.expand_path("~/.ssh/gem-private_key.pem")
if File.exist?(key)
s.signing_key = key
s.cert_chain = ["gem-public_cert.pem"]
end
end

0 comments on commit 22ddb70

Please sign in to comment.