Skip to content

Commit 13dea89

Browse files
committed
chore(release): cut 0.2.9-beta.0
1 parent dce15e7 commit 13dea89

3 files changed

Lines changed: 19 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ jobs:
5454
echo "package_name=$PACKAGE_NAME" >> "$GITHUB_OUTPUT"
5555
echo "package_version=$PACKAGE_VERSION" >> "$GITHUB_OUTPUT"
5656
57+
- name: Resolve npm dist-tag
58+
id: dist_tag
59+
run: |
60+
PACKAGE_VERSION="${{ steps.verify.outputs.package_version }}"
61+
62+
if [[ "$PACKAGE_VERSION" == *-* ]]; then
63+
PRERELEASE="${PACKAGE_VERSION#*-}"
64+
DIST_TAG="${PRERELEASE%%.*}"
65+
else
66+
DIST_TAG="latest"
67+
fi
68+
69+
echo "dist_tag=$DIST_TAG" >> "$GITHUB_OUTPUT"
70+
5771
- name: Check if this version is already published
5872
id: exists
5973
run: |
@@ -96,9 +110,9 @@ jobs:
96110
if: steps.exists.outputs.already_published == 'false'
97111
run: |
98112
if [ "${{ github.event.repository.private }}" = "true" ]; then
99-
npm publish --access public
113+
npm publish --tag "${{ steps.dist_tag.outputs.dist_tag }}" --access public
100114
else
101-
npm publish --provenance --access public
115+
npm publish --provenance --tag "${{ steps.dist_tag.outputs.dist_tag }}" --access public
102116
fi
103117
env:
104118
NODE_AUTH_TOKEN: ""

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opik/opik-openclaw",
3-
"version": "0.2.8",
3+
"version": "0.2.9-beta.0",
44
"license": "Apache-2.0",
55
"description": "OpenClaw Opik exporter — sends LLM traces to Opik",
66
"repository": {

0 commit comments

Comments
 (0)