Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Determine bump type
id: bump
run: |
MSG="${{ github.event.head_commit.message }}"
MSG=$(echo "${{ github.event.head_commit.message }}" | head -1)
if echo "$MSG" | grep -qiE "(BREAKING CHANGE|^[a-z]+(\([^)]*\))?!:)"; then
echo "type=major" >> "$GITHUB_OUTPUT"
elif echo "$MSG" | grep -qE "^feat(\([^)]*\))?:"; then
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"
git add pyproject.toml src/main.py
git commit -m "chore: bump version ${{ steps.version.outputs.current }} -> ${{ steps.version.outputs.new }}"
git tag "v${{ steps.version.outputs.new }}"
git tag -a "v${{ steps.version.outputs.new }}" -m "Release v${{ steps.version.outputs.new }}"
git push origin main --follow-tags

- name: Create GitHub Release
Expand Down
Loading