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
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ jobs:
run: uv tool install "commitizen==4.9.1"

- name: Bump
# --yes: accept prompts non-interactively. Exits 0 with no commit when
# there is no version increment (pure chore:/docs: history).
run: cz bump --yes --changelog
# --yes: accept prompts non-interactively.
# -nr 21: do NOT fail (NO_COMMITS_TO_BUMP, exit 21) when the only commits
# since the last tag are non-bumpable (pure chore:/docs:). cz treats
# "no eligible commits" as an error; -nr 21 turns it into a clean exit 0
# so the tag-check step can detect "no release" and skip publish.
run: cz -nr 21 bump --yes --changelog

- name: Check whether a tag was created
id: tag_check
Expand Down
Loading