bitbucket-pipelines.yml in legion-logging-1.0.0 vs bitbucket-pipelines.yml in legion-logging-1.1.0
- old
+ new
@@ -1,15 +1,18 @@
-image: ruby:2.5.0
+image: ruby:2.7.0
pipelines:
- default:
- - step:
- caches:
- - bundler
- script:
- - gem install bundle rubocop
- - bundle install
- - rubocop
- - rake
-definitions:
- caches:
- bundler: vendor/bundle
\ No newline at end of file
+ branches:
+ master:
+ - step:
+ name: Push to RubyGems
+ deployment: RubyGems
+ script:
+ - gem install bundler gem-release rake rspec
+ - bundle install
+ - rake build
+ - mkdir .gem
+ - (umask 077 ; echo $gem_creds | base64 --decode > .gem/credentials)
+ - gem release
+ - gem tag --push
+ artifacts:
+ - pkg/**