From d9bfe22f00a01ec9a2436c7aed5d8cb30c672b4d Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Fri, 28 Jun 2024 14:00:08 -0400 Subject: [PATCH] ci: remove grep check for previous tag (#881) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 797428cf8..eb81576e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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"