Skip to content

Commit 0bfb548

Browse files
Update release_tools/version_bump.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7d18192 commit 0bfb548

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

release_tools/version_bump.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ if ! git diff-index --quiet HEAD -- ; then
3636
fi
3737

3838
# Bump version number
39-
hatch version $1
39+
if ! hatch version "$1" ; then
40+
echo "Failed to update version"
41+
exit 1
42+
fi
4043

4144
NEW_VERSION_NUMBER=$(hatch version)
4245

0 commit comments

Comments
 (0)