Skip to content

Commit

Permalink
fix: set --yes to cz bump cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiD2ta committed Oct 25, 2024
1 parent bab4525 commit 5dd4c61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Bump version
id: bump_version
run: |
new_version=$(cz bump --dry-run | grep -oP '(?<=tag: v).*')
new_version=$(cz bump --dry-run --yes | grep -oP '(?<=tag: v).*')
echo "new_version=${new_version}" >> $GITHUB_OUTPUT
- name: Print new version
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ repos:
rev: v4.6.0
- hooks:
- id: commitizen
- id: commitizen-branch
stages:
- commit-msg
repo: https://github.com/commitizen-tools/commitizen
Expand Down

0 comments on commit 5dd4c61

Please sign in to comment.