Skip to content

Commit 5ca79f0

Browse files
committed
fix(gitutils): 🐛 improve error handling
1 parent b099626 commit 5ca79f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gitutils/_git-release-prod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ if bump-changelog -f $GBV -b; then
7878
# Create git tag for the new version
7979
bump-tag $GBV
8080
else
81-
git undo
81+
git undo && git pf
8282
zz_log e "Cannot finish release. CHANGELOG & VERSION are not updated."
8383
fi
8484
else

0 commit comments

Comments
 (0)