ci: display previous tag during release job (#880)

This commit is contained in:
Vadym Barda
2024-06-28 13:33:17 -04:00
committed by GitHub
parent 7e54aba3e7
commit b8e6483770
+1
View File
@@ -105,6 +105,7 @@ jobs:
fi
echo $REGEX
PREV_TAG=$(git tag --sort=-creatordate | grep -P $REGEX || true | head -1)
echo $PREV_TAG
if [ "$TAG" == "$PREV_TAG" ]; then
echo "No new version to release"
exit 1