Bump version and create changelog #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- release | |
name: Bump version and create changelog | |
jobs: | |
bump_version: | |
runs-on: ubuntu-latest | |
name: "Bump version and create changelog with commitizen" | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}" | |
ref: main | |
- id: cz | |
name: Create bump and changelog | |
uses: commitizen-tools/commitizen-action@master | |
continue-on-error: true | |
with: | |
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
- name: Print Version | |
run: echo "Bumped to version ${{ steps.cz.outputs.version }}" |