Sha256: c533a5b6930b19c4c19b31a9bc729e6c800813555d36cb52d7bf5a5e169acd2c

Contents?: true

Size: 789 Bytes

Versions: 1

Compression:

Stored size: 789 Bytes

Contents

#  Template Ruby build
#
#  This template allows you to validate your Ruby code.
#  The workflow allows running tests and release on master branch.
#  Requires environment variables to be configured:
#     RUBYGEMS_API_KEY: RubyGem.org API Key
image: ruby:2.7

pipelines:
  tags:
    v*:
      - step:
          name: Build and test
          script:
            # Install gems
            - bundle install
            # Run tests
            - bundle exec rake test  
      - step:
          name: Release gem
          script:
            # Install gems
            - bundle install
            # Build gem
            - gem build hello_world_hn.gemspec
            # Publish gem
            - GEM_HOST_API_KEY=$RUBYGEMS_API_KEY gem push hello_world_hn-*.gem --host https://rubygems.org/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hello_world_hn-1.0.0.pre.beta.3 bitbucket-pipelines.yml