.drone.yml in kite-1.1.8 vs .drone.yml in kite-1.1.9
- old
+ new
@@ -25,16 +25,18 @@
- 1-1-stable
- name: Publish to RubyGems
image: ruby:2.6
environment:
- RUBYGEMS_API_KEY: 29a78961adeb9dcbd2243252cb9c01e5
- # from_secret: rubygems_api_key
+ RUBYGEMS_API_KEY:
+ from_secret: rubygems_api_key
commands:
- mkdir ~/.gem
- |
echo "---\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
- chmod 0600 ~/.gem/credentials
- - cat /root/.gem/credentials
- bundle --jobs $(nproc)
- bundle exec gem build kite.gemspec
- - bundle exec gem push "kite-1.1.8.gem"
+ - bundle exec gem push kite-$DRONE_TAG.gem
+ when:
+ event:
+ - tag