Skip to content

Commit d39d08e

Browse files
committedJan 22, 2025·
🔧 Use version from package.json
1 parent 7d32079 commit d39d08e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
 

‎.github/workflows/release.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ jobs:
2222
run: npm install
2323

2424
- name: Build package
25-
run: npm run build
25+
id: build
26+
run: |
27+
VERSION=$(jq ".version" package.json -r)
28+
echo "::set-output name=version::$VERSION"
29+
npm run build
2630
2731
- name: Create release tarball
28-
id: create_tarball
2932
run: npm pack
3033

3134
- name: Release
3235
uses: softprops/action-gh-release@v2
3336
with:
3437
files: |
35-
wext-manifest-loader-${{ github.ref_name }}.tgz
38+
wext-manifest-loader-${{ steps.build.outputs.version }}.tgz

‎wext-manifest-loader-2.4.3.tgz

8.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.