Sha256: da4d13cb7666a5ec691578096fbed5ce66ccf564d7b480f55f45698cf39b39de
Contents?: true
Size: 1.51 KB
Versions: 52
Compression:
Stored size: 1.51 KB
Contents
name: release-tag on: repository_dispatch: types: [ metanorma/mn2pdf ] jobs: prepare: uses: metanorma/ci/.github/workflows/prepare-rake.yml@main tag-repo: runs-on: ubuntu-latest needs: prepare if: startsWith(github.event.client_payload.ref, 'refs/tags/v') steps: - uses: actions/checkout@v3 with: token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} - run: | git config --global user.name "metanorma-ci" git config --global user.email "metanorma-ci@users.noreply.github.com" - name: Parse mn2pdf version env: MN2PDF_TAG: ${{ github.event.client_payload.ref }} run: echo MN2PDF_VERSION=${MN2PDF_TAG#*/v} >> ${GITHUB_ENV} - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ needs.prepare.outputs.default-ruby-version }} bundler-cache: true - run: rm -f bin/mn2pdf.jar - run: bundle exec rake - run: | gem install gem-release gem bump --version ${MN2PDF_VERSION} --no-commit - name: Push commit and tag run: | git add -u lib/mn2pdf/version.rb git commit -m "Bump version to ${MN2PDF_VERSION}" git tag v${MN2PDF_VERSION} git push origin HEAD:${GITHUB_REF} --tags - if: failure() uses: JasonEtco/create-an-issue@v2 env: GITHUB_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }} with: assignees: CAMOBAP update_existing: true search_existing: all
Version data entries
52 entries across 52 versions & 1 rubygems