Skip to content

Commit 389a781

Browse files
authored
fix(infra): exclude pre-releases from latest version checks in core release workflow (#32883)
1 parent 443f0cc commit 389a781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ jobs:
393393
git ls-remote --tags origin "langchain-${{ matrix.partner }}*" \
394394
| awk '{print $2}' \
395395
| sed 's|refs/tags/||' \
396-
| grep -Ev '==[^=]*(\.?dev[0-9]*|\.?rc[0-9]*)$' \
396+
| grep -E '[0-9]+\.[0-9]+\.[0-9]+$' \
397397
| sort -Vr \
398398
| head -n 1
399399
)"

0 commit comments

Comments
 (0)