lib/travis/cli/sshkey.rb in travis-1.6.18.travis.592.5 vs lib/travis/cli/sshkey.rb in travis-1.6.18.travis.594.5
- old
+ new
@@ -60,9 +60,10 @@
say "Uploading private key to Travis CI."
ssh_key.update(:value => private_key.to_s, :description => description)
empty_line
+ say "You can store the private key to reuse it for other repositories (travis sshkey --upload FILE)."
if agree("Store private key? ") { |q| q.default = "no" }
path = ask("Path: ") { |q| q.default = "id_travis_rsa" }
File.write(path, private_key.to_s)
end
end