drunk devs

This commit is contained in:
ChillerDragon 2023-03-18 10:09:24 +01:00
parent ba12559348
commit 2ca10fc4f5

View file

@ -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"