Skip to content

version: 0.6.0 (#56) #7

version: 0.6.0 (#56)

version: 0.6.0 (#56) #7

name: Create release tag
on:
push:
branches:
- main
paths:
- CHANGELOG.md
jobs:
create-release-tag:
runs-on: ubuntu-latest
if: "startsWith(github.event.head_commit.message, 'version:')"
steps:
- uses: actions/checkout@v4
- name: Create tag
run: |
TAG=$(hatch version)
git config user.name "release-bot"
git config user.email "[email protected]"
git tag "$TAG"
git push origin $TAG