Skip to content

Commit

Permalink
infra: release note grep order of operations (#27922)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored Nov 5, 2024
1 parent b3c8135 commit c3b7556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
if [ -z "$PREV_TAG" ]; then
REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
echo $REGEX
PREV_TAG=$(git tag --sort=-creatordate | grep -P $REGEX || true | head -1)
PREV_TAG=$(git tag --sort=-creatordate | (grep -P $REGEX || true) | head -1)
fi
# if PREV_TAG is empty, let it be empty
Expand Down

0 comments on commit c3b7556

Please sign in to comment.