Skip to content

Release new version

Release new version #3

Workflow file for this run

name: Release new version
on:
workflow_dispatch:
jobs:
release-new-version:
runs-on: ubuntu-latest
name: "Release new version with change log"
permissions:
contents: write
steps:
- name: Check out
uses: actions/checkout@v6
with:
fetch-depth: 0
- id: cz
name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
changelog_increment_filename: body.md
- name: Print Version
run: echo "Bumped to version v${{ env.REVISION }}"
- name: Create release note from changelog
uses: softprops/action-gh-release@v2
with:
body_path: body.md
tag_name: v${{ env.REVISION }}