ci: remove grep check for previous tag (#881)

This commit is contained in:
Vadym Barda
2024-06-28 14:00:08 -04:00
committed by GitHub
parent b8e6483770
commit d9bfe22f00
+1 -1
View File
@@ -104,7 +104,7 @@ jobs:
REGEX="^$SHORT_PKG_NAME==\\d+\\.\\d+\\.\\d+((a|b|rc)\\d+)?\$"
fi
echo $REGEX
PREV_TAG=$(git tag --sort=-creatordate | grep -P $REGEX || true | head -1)
PREV_TAG=$(git tag --sort=-creatordate | grep -P $REGEX | head -1)
echo $PREV_TAG
if [ "$TAG" == "$PREV_TAG" ]; then
echo "No new version to release"