From d124f3b213c6288700a5df3547c72fe4da67677f Mon Sep 17 00:00:00 2001 From: Ivan Dmytrenko Date: Fri, 8 Apr 2022 12:33:37 +0300 Subject: [PATCH 1/2] Delete nullifying of access token --- lib/travis/cli/sshkey.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/travis/cli/sshkey.rb b/lib/travis/cli/sshkey.rb index 6d276f4c..d040a311 100644 --- a/lib/travis/cli/sshkey.rb +++ b/lib/travis/cli/sshkey.rb @@ -56,7 +56,6 @@ def generate_key github.with_token do |token| access_token = github_auth(token) end - session.access_token = nil unless access_token raise Travis::Client::GitHubLoginFailed, "all GitHub tokens given were invalid" end From c6aea1d97ee81fbc467c744c17bb7d73e08ffb18 Mon Sep 17 00:00:00 2001 From: Murtaza Khan Date: Thu, 9 Jun 2022 12:33:15 +0500 Subject: [PATCH 2/2] v1.11.1 --- README.md | 8 ++++++++ lib/travis/version.rb | 2 +- travis.gemspec | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 354c4e0b..1dc4a186 100644 --- a/README.md +++ b/README.md @@ -2066,6 +2066,14 @@ See https://github.com/travis-ci/travis.rb/issues/768#issuecomment-700220351 for ## Version History +### 1.11.1 + +* Fix `travis sshkey --generate` https://github.com/travis-ci/travis.rb/pull/820 + +### 1.11.0 + +* Removed authentication with password https://github.com/travis-ci/travis.rb/pull/811 + ### 1.10.1 * Fix `travis monitor` command https://github.com/travis-ci/travis.rb/pull/770 diff --git a/lib/travis/version.rb b/lib/travis/version.rb index 4bf02222..f34af8d8 100644 --- a/lib/travis/version.rb +++ b/lib/travis/version.rb @@ -1,3 +1,3 @@ module Travis - VERSION = '1.11.0' + VERSION = '1.11.1' end diff --git a/travis.gemspec b/travis.gemspec index 6e4ce659..14a9d228 100644 --- a/travis.gemspec +++ b/travis.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| # general info s.name = "travis" - s.version = "1.11.0" + s.version = "1.11.1" s.required_ruby_version = ">= 2.3.0" s.description = "CLI and Ruby client library for Travis CI" s.homepage = "https://github.com/travis-ci/travis.rb"