lib/travis/cli/setup/releases.rb in travis-1.13.3 vs lib/travis/cli/setup/releases.rb in travis-1.14.0
- old
+ new
@@ -24,10 +24,10 @@
Tools::Github.new(session.config['github']) do |g|
g.drop_token = false
g.github_token = github_token
g.debug = proc { |log| debug(log) }
g.after_tokens = proc { g.explode = true and error('no suitable github token found') }
- g.scopes = org? ? ['public_repo'] : ['repo']
+ g.scopes = ['repo']
g.note = "automatic releases for #{repository.slug}"
end
end
end
end