Skip to content

Release a New Version #10

Release a New Version

Release a New Version #10

Workflow file for this run

name: Release a New Version
on:
workflow_dispatch:
jobs:
release:
name: Bump Versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- id: cz
name: Bump Version, Create Tag and Changelog
uses: commitizen-tools/commitizen-action@master
with:
github_token: ${{ secrets.GH_ACCESS_TOKEN }}
changelog_increment_filename: body.md
- name: Create Release
uses: softprops/action-gh-release@v2
with:
body_path: "body.md"
tag_name: ${{ env.REVISION }}
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Print Version
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"