mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-18 17:11:25 +00:00
infra: release note grep order of operations (#27922)
This commit is contained in:
parent
b3c81356ca
commit
c3b75560dc
2
.github/workflows/_release.yml
vendored
2
.github/workflows/_release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user