bitbucket-pipelines.yml in legion-settings-1.1.2 vs bitbucket-pipelines.yml in legion-settings-1.1.3

- old
+ new

@@ -1,39 +1,17 @@ -image: ruby:2.4.0 +image: ruby:2.7 pipelines: - branches: - master: - - step: - caches: - - bundler - script: - - gem install bundle rubocop - - bundle install - - rubocop - - rake - - step: - name: Deploy to test gem server - deployment: test - script: - - gem install bundle geminabox - - bundle install - - gem build legion-settings.gemspec - - gem inabox legion-settings*.gem -g https://gems.whonodes.org/ -o - - step: - name: Deploy to RubyGems - deployment: production - trigger: manual - script: - - gem build legion-settings.gemspec - default: - - step: - caches: - - bundler - script: - - gem install bundle rubocop - - bundle install - - rubocop - - rake + 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/** definitions: caches: - bundler: vendor/bundle + bundler: /usr/local/bundle \ No newline at end of file