From f1c7017c65b0c0db10172b0463a20f79388a7b61 Mon Sep 17 00:00:00 2001 From: Ben Parizek Date: Fri, 15 Sep 2023 21:11:44 -0400 Subject: [PATCH] Fixes git pre-check logic --- .githooks/pre-push | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.githooks/pre-push b/.githooks/pre-push index 9a3c86e0..87a4086a 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -3,10 +3,10 @@ # Script to be run as part of the github pre-push hook. # create a of the git tags being pushed -TAGS_PREFIXED_WITH_V=$(git tag -l | grep -E ^4) +TAGS_PREFIXED_WITH_V=$(git tag -l | grep -E ^v) if [ -n "$TAGS_PREFIXED_WITH_V" ]; then echo "A tag incorrectly starts with 'v'." echo $TAGS_PREFIXED_WITH_V; exit 1 -fi +fi \ No newline at end of file