Skip to content

Commit 58c2598

Browse files
committed
add the exit code for ragstack-release tag rev-parse check
1 parent 6c5c1cb commit 58c2598

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ragstack/ragstack-release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ echo "Identified remote $remote_name"
3333

3434
if git rev-parse $tag >/dev/null 2>&1; then
3535
echo "Git tag $tag already exists"
36+
exit 1
3637
fi
3738

3839
cd $directory

0 commit comments

Comments
 (0)