Skip to content

bump: version 2.6.0 → 2.6.1 #38

bump: version 2.6.0 → 2.6.1

bump: version 2.6.0 → 2.6.1 #38

Workflow file for this run

name: Bump version
on:
push:
branches:
- main
jobs:
bump-version:
name: "Bump version and create changelog with commitizen"
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') }}
runs-on: self-hosted
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
- id: cz
name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
changelog_increment_filename: body.md
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: "body.md"
tag_name: ${{ env.REVISION }}
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Print Version
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"