lib/keyring_liberator.rb in cocoapods-keys-1.5.1 vs lib/keyring_liberator.rb in cocoapods-keys-1.5.2
- old
+ new
@@ -45,10 +45,12 @@
end
end
def self.save_keyring(keyring)
keys_dir.mkpath
- prompt_if_already_existing(keyring)
+ if !ENV['TRAVIS'] && !ENV['TEAMCITY_VERSION'] && !ENV['CIRCLECI']
+ prompt_if_already_existing(keyring)
+ end
yaml_path_for_path(keyring.path).open('w') { |f| f.write(YAML.dump(keyring.to_hash)) }
end
def self.get_all_keyrings
return [] unless keys_dir.directory?