Skip to content

Commit

Permalink
infra: fix prev tag condition (langchain-ai#27891)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored Nov 4, 2024
1 parent d7c39e6 commit 75f80c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75f80c2

Please sign in to comment.