Skip to content

Commit 92e1986

Browse files
committed
fix build versioning
1 parent 5601102 commit 92e1986

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v4
2626

27+
- name: Set version from tag
28+
shell: bash
29+
run: |
30+
VERSION="${{ github.ref_name }}"
31+
VERSION="${VERSION#v}"
32+
npm version "$VERSION" --no-git-tag-version
33+
2734
- name: Setup Bun
2835
uses: oven-sh/setup-bun@v2
2936
with:

0 commit comments

Comments
 (0)