Skip to content

Commit a08bd4e

Browse files
committed
ci: sync version from tag in build workflow
1 parent edcd06c commit a08bd4e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
node-version: 20
2424
cache: npm
2525

26+
- name: Set version from tag
27+
run: npm version ${{ github.ref_name }} --no-git-tag-version
28+
2629
- name: Install dependencies
2730
run: npm ci
2831

@@ -64,6 +67,9 @@ jobs:
6467
fuse \
6568
libfuse2
6669
70+
- name: Set version from tag
71+
run: npm version ${{ github.ref_name }} --no-git-tag-version
72+
6773
- name: Install dependencies
6874
run: npm ci
6975

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Meridia",
33
"private": true,
4-
"version": "0.0.0",
4+
"version": "2.0.0-alpha.3",
55
"type": "module",
66
"author": "Ridit Jangra",
77
"keywords": [],

0 commit comments

Comments
 (0)