From 2ca10fc4f5fdeeec952ca42b04c6f905cbaacb6a Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Sat, 18 Mar 2023 10:09:24 +0100 Subject: [PATCH] drunk devs --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index 49a425e..43b83ca 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -126,7 +126,7 @@ else echo "Error: tag has to match vMAJOR.MINOR.PATCH format" exit 1 fi -if [[ "$( (git tag;echo v0.0.2) | sort -V | tail -n1)" != "$tag_name" ]] +if [[ "$( (git tag;echo "$tag_name") | sort -V | tail -n1)" != "$tag_name" ]] then echo "Error: the tag name you entered '$tag_name' does not seem to be the latest" echo " instead '$( (git tag;echo v0.0.2) | sort -V | tail -n1)' is the latest"