Sha256: 46dc5bdd1f532710ad8790194334318fed470c92cfef22a68da0b1a4dd36bfea
Contents?: true
Size: 1.75 KB
Versions: 16
Compression:
Stored size: 1.75 KB
Contents
name: release on: push: tags: - '*' workflow_dispatch: inputs: next_version: description: | Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc required: true default: 'skip' jobs: prepare: uses: metanorma/ci/.github/workflows/prepare-rake.yml@main prepare-ieee: uses: ./.github/workflows/prepare.yml secrets: pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} release: runs-on: ubuntu-latest needs: [ prepare, prepare-ieee ] steps: - uses: actions/checkout@v3 - run: | git config user.name "metanorma-ci" git config user.email "metanorma-ci@users.noreply.github.com" - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ needs.prepare.outputs.default-ruby-version }} bundler-cache: true - uses: actions/download-artifact@v3 with: name: ieee-test-input path: ieee - run: gem install gem-release - if: github.event_name == 'workflow_dispatch' && inputs.next_version != 'skip' run: | gem bump --version ${{ inputs.next_version }} --no-commit rm -f bin/mnconvert.jar bundle exec rake bin/mnconvert.jar - run: bundle exec rake - if: github.event_name == 'workflow_dispatch' && inputs.next_version != 'skip' run: | git add -u bin/mnconvert.jar lib/mnconvert/version.rb git commit -m "Bump version to ${{ inputs.next_version }}" git tag v${mnconvert_VERSION} git push origin HEAD:${GITHUB_REF} --tags - uses: actions-mn/gem-release@main with: api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }} release-command: gem release
Version data entries
16 entries across 16 versions & 1 rubygems