File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2626 mkdir -p $HOME/.gem
2727 touch $HOME/.gem/credentials
2828 chmod 0600 $HOME/.gem/credentials
29- printf -- "---\n:rubygems_api_key: ${RUBYGEMS_AUTH_TOKEN }\n" > $HOME/.gem/credentials
29+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY }\n" > $HOME/.gem/credentials
3030 gem build *.gemspec
3131 gem push *.gem
3232 env :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
1717 # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
1818 # to allow pushing to a single host or delete this section to allow pushing to any host.
1919 if spec . respond_to? ( :metadata )
20- spec . metadata [ "allowed_push_host" ] = "TODO: Set to 'http://mygemserver.com' "
20+ spec . metadata [ "allowed_push_host" ] = "https://rubygems.org "
2121 else
2222 raise "RubyGems 2.0 or newer is required to protect against " \
2323 "public gem pushes."
You can’t perform that action at this time.
0 commit comments