Sha256: 8d47335f284e3f45e0430ac0529e2883c741b60ecf2f68ab42cbcbab230c96b4

Contents?: true

Size: 618 Bytes

Versions: 3

Compression:

Stored size: 618 Bytes

Contents

stages:
  - rspec
  - publish

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

to_gem:
  stage: publish
  image: ruby:3.2.1
  tags:
    - arm64
  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.2.2 .gitlab-ci.yml
rpdoc-0.2.1 .gitlab-ci.yml
rpdoc-0.2.0 .gitlab-ci.yml