Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,19 @@ jobs:
- name: Detect version commit
id: version
run: |
VERSION=$(git log -1 --pretty=%s "$GITHUB_SHA")
if echo "$VERSION" | grep -Eq '^v[0-9]+\.[0-9]+\.[0-9]+$'; then
# Squash-merged release PRs carry a " (#123)" suffix in the subject
# (v3.3.6/7/9 releases were silently skipped by an exact match) —
# accept it and strip it back to the bare version.
SUBJECT=$(git log -1 --pretty=%s "$GITHUB_SHA")
if echo "$SUBJECT" | grep -Eq '^v[0-9]+\.[0-9]+\.[0-9]+( \(#[0-9]+\))?$'; then
VERSION=$(echo "$SUBJECT" | sed -E 's/ \(#[0-9]+\)$//')
echo "is_version=true" >> "$GITHUB_OUTPUT"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
exit 0
fi

echo "is_version=false" >> "$GITHUB_OUTPUT"
echo "Head commit subject '$VERSION' is not a release commit; skipping."
echo "Head commit subject '$SUBJECT' is not a release commit; skipping."

- name: Validate package version
if: steps.version.outputs.is_version == 'true'
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@librechat/agents",
"version": "3.3.8",
"version": "3.3.9",
"main": "./dist/cjs/main.cjs",
"module": "./dist/esm/main.mjs",
"types": "./dist/types/index.d.ts",
Expand Down
Loading
Loading