mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-19 17:45: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
|
if [ -z "$PREV_TAG" ]; then
|
||||||
REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
|
REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
|
||||||
echo $REGEX
|
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
|
fi
|
||||||
|
|
||||||
# if PREV_TAG is empty, let it be empty
|
# if PREV_TAG is empty, let it be empty
|
||||||
|
Loading…
Reference in New Issue
Block a user