Skip to content

chore(main): release 2.0.5 (#60) #42

chore(main): release 2.0.5 (#60)

chore(main): release 2.0.5 (#60) #42

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
lint:
uses: ./.github/workflows/lint.yml
test:
uses: ./.github/workflows/test.yml
secrets:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
release-please:
needs:
- lint
- test
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
package-name: itax_code
release-type: ruby
token: ${{secrets.GITHUB_TOKEN}}
version-file: "lib/itax_code/version.rb"
changelog-types: >
[
{ "type": "build", "section": "Build System", "hidden": false },
{ "type": "ci", "section": "Continuous Integration", "hidden": false },
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": false },
{ "type": "docs", "section": "Documentation", "hidden": false },
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "perf", "section": "Performance Improvements", "hidden": false },
{ "type": "revert", "section": "Reverts", "hidden": false },
{ "type": "refactor", "section": "Code Refactoring", "hidden": false },
{ "type": "style", "section": "Styles", "hidden": false },
{ "type": "test", "section": "Tests", "hidden": false }
]
- uses: actions/checkout@v4
if: ${{steps.release.outputs.release_created}}
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 2.7.0
if: ${{steps.release.outputs.release_created}}
- run: bundle install
if: ${{steps.release.outputs.release_created}}
- run: ./bin/release
env:
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
if: ${{steps.release.outputs.release_created}}