Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): commitizen and CI should fail if the bumped version strings contain inconsistent version numbers #747

Merged
merged 1 commit into from
Jun 16, 2024
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: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ jobs:
# In some cases a user may merge commits that don't cause a version bump, which causes commitizen
# to fail with error code 21 (NoneIncrementExit). Thus we silence that particular error to avoid
# failing this job: https://commitizen-tools.github.io/commitizen/bump/#avoid-raising-errors
# Furthermore, if the version strings have inconsistent versions then `cz` and CI fail such that
# the issue can be inspected and fixed.
- name: Create changelog and bump
run: cz --no-raise 21 bump --changelog --yes
run: cz --no-raise 21 bump --changelog --check-consistency --yes

- name: Push the release
run: |
Expand Down