bitbucket-pipelines.yml in legion-logging-1.1.3 vs bitbucket-pipelines.yml in legion-logging-1.1.4
- old
+ new
@@ -1,18 +1,17 @@
-image: ruby:2.7.0
+image: ruby:2.7
pipelines:
- branches:
- master:
+ tags:
+ "v*":
- 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 install gem-release
+ - (umask 077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
- gem release
- - gem tag --push
artifacts:
- pkg/**
+definitions:
+ caches:
+ bundler: /usr/local/bundle
\ No newline at end of file