mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-22 14:49:29 +00:00
infra: fix prev tag condition (#27891)
This commit is contained in:
parent
d7c39e6dbb
commit
75f80c2910
3
.github/workflows/_release.yml
vendored
3
.github/workflows/_release.yml
vendored
@ -107,7 +107,8 @@ jobs:
|
||||
fi
|
||||
|
||||
# confirm prev-tag actually exists in git repo with git tag
|
||||
if [ -z git tag -l "$PREV_TAG" ]; then
|
||||
GIT_TAG_RESULT=$(git tag -l "$PREV_TAG")
|
||||
if [ -z "$GIT_TAG_RESULT" ]; then
|
||||
echo "Previous tag $PREV_TAG not found in git repo"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user