Skip to content

Commit b35915c

Browse files
committed
release fix2
1 parent 1fb156c commit b35915c

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ jobs:
2828
id: version
2929
run: |
3030
if [ "${{ github.event_name }}" == "release" ]; then
31-
VERSION=${GITHUB_REF#refs/tags/v}
32-
VERSION=${VERSION#refs/tags/}
31+
# For release events, use the tag_name from the release event
32+
TAG_NAME="${{ github.event.release.tag_name }}"
33+
# Remove 'v' prefix if present
34+
VERSION=${TAG_NAME#v}
3335
else
3436
VERSION="${{ github.event.inputs.version }}"
3537
fi

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentienceapi",
3-
"version": "0.90.9",
3+
"version": "0.90.10",
44
"description": "TypeScript SDK for Sentience AI Agent Browser Automation",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)