From 91e4019c1ccf2d466fd01c0ad32c0e18e4c3fa83 Mon Sep 17 00:00:00 2001 From: Seth G Date: Wed, 19 Jun 2024 16:44:27 +0200 Subject: [PATCH] fix: ensure published assets have correct version (#386) --- .github/workflows/release.yml | 3 --- package.json | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd3ff9a..98c14ed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/package.json b/package.json index fc8fdb4..2ef5f84 100644 --- a/package.json +++ b/package.json @@ -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": [