Sha256: 38a7f4ddb301b7a98ccb9875e5aeef4f2e8398b535279368087a441b262adf23

Contents?: true

Size: 578 Bytes

Versions: 3

Compression:

Stored size: 578 Bytes

Contents

stages:
  - rspec
  - publish

rspec:
  stage: rspec
  image: ruby:3.0.2
  script:
    - bundle install
    - RPDOC_ENABLE=false rspec spec -fd
  only:
    - master

to_gem:
  stage: publish
  image: ruby:3.0.2
  script:
    - mkdir -p ~/.gem
    - touch ~/.gem/credentials
    - chmod 0600 ~/.gem/credentials
    - 'printf -- "---\n:rubygems_api_key: $GEM_HOST_API_KEY\n" > ~/.gem/credentials'
    - RELEASE_VERSION=$(cat VERSION.md)
    - GEM_NAME=rpdoc-$RELEASE_VERSION.gem
    - gem build rpdoc.gemspec
    - gem push $GEM_NAME
  only:
    - /release-\d+\.\d+\.\d+(\.\d+)?/

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rpdoc-0.1.13 .gitlab-ci.yml
rpdoc-0.1.12 .gitlab-ci.yml
rpdoc-0.1.11 .gitlab-ci.yml