bitbucket-pipelines.yml in legion-exceptions-1.1.3 vs bitbucket-pipelines.yml in legion-exceptions-1.1.4

- old
+ new

@@ -1,27 +1,18 @@ -image: ruby:2.7.0 +image: ruby:2.7 pipelines: - branches: - master: + tags: + "v*": - step: - caches: - - bundler + name: Push to RubyGems + deployment: RubyGems script: - - gem install bundler rubocop - - gem update bundler rubocop + - gem install bundler gem-release rspec - bundle install - - rubocop - - rspec - develop: - - step: - caches: - - bundler - script: - - gem install bundler rubocop - - gem update bundler rubocop - - bundle install - - rubocop - - rspec + - (umask 077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials) + - gem release + artifacts: + - pkg/** definitions: caches: - bundler: vendor/bundle + bundler: /usr/local/bundle \ No newline at end of file