mirror of
https://github.com/hwchase17/langchain
synced 2024-11-02 09:40:22 +00:00
infra: allow first releases (#22236)
This commit is contained in:
parent
404d92ded0
commit
26c6e4a5ef
2
.github/workflows/_release.yml
vendored
2
.github/workflows/_release.yml
vendored
@ -97,7 +97,7 @@ jobs:
|
||||
run: |
|
||||
REGEX="^$PKG_NAME==\\d+\\.\\d+\\.\\d+\$"
|
||||
echo $REGEX
|
||||
PREV_TAG=$(git tag --sort=-creatordate | grep -P $REGEX | head -1)
|
||||
PREV_TAG=$(git tag --sort=-creatordate | {grep -P $REGEX || test $? = 1; } | head -1)
|
||||
TAG="${PKG_NAME}==${VERSION}"
|
||||
if [ "$TAG" == "$PREV_TAG" ]; then
|
||||
echo "No new version to release"
|
||||
|
Loading…
Reference in New Issue
Block a user