Skip to content

Commit

Permalink
fix: ensure published assets have correct version (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika authored Jun 19, 2024
1 parent 9d9579f commit 91e4019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:
- name: Install dependencies ⏬
run: npm ci

- name: Build artifacts 🏗️
run: npm run package-binaries

- name: Release 🚀
uses: cycjimmy/semantic-release-action@v4.1.0
id: semantic
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"lint": "eslint . && tsc --noEmit --project tsconfig.json",
"test": "node test.js",
"build-binaries": "npm run build && pkg package.json",
"package-binaries": "npm run build-binaries && node package-binaries.js"
"package-binaries": "npm run build-binaries && node package-binaries.js",
"postpublish": "npm run package-binaries"
},
"pkg": {
"targets": [
Expand Down

0 comments on commit 91e4019

Please sign in to comment.