bitbucket-pipelines.yml in legion-transport-1.1.6 vs bitbucket-pipelines.yml in legion-transport-1.1.8
- old
+ new
@@ -1,25 +1,14 @@
-image: ruby:2.7.0
+image: ruby:2.7
pipelines:
- branches:
- master:
- - step:
- caches:
- - bundler
- script:
- - gem install bundle rubocop
- - gem update bundler
- - bundle install
- - rubocop
- - rake
- services:
- - broker
-definitions:
- caches:
- bundler: vendor/bundle
- services:
- broker:
- image: rabbitmq:3
- environment:
- RABBITMQ_DEFAULT_USER: guest
- RABBITMQ_DEFAULT_PASS: guest
+ tags:
+ "v*":
+ - step:
+ name: Push to RubyGems
+ deployment: RubyGems
+ script:
+ - gem install gem-release
+ - (umask 077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
+ - gem release
+ artifacts:
+ - pkg/**
\ No newline at end of file