From 16aefc14e1a2c064dfce009f6ff49326bb9524ef Mon Sep 17 00:00:00 2001 From: Xiphe Date: Wed, 24 Jun 2020 00:07:37 +0200 Subject: [PATCH] fix: use correct version in build and artefacts --- .github/workflows/build.yml | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d2c064..00d9a4d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,7 +62,6 @@ jobs: run: | mkdir -p ~/private_keys/ echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8 - - run: npm run build - run: npx --no-install semantic-release || true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index c36d4cd..8eb26d5 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ [ "@semantic-release/exec", { - "prepareCmd": "npx --no-install electron-builder --mac --publish never" + "prepareCmd": "npm --no-git-tag-version version ${nextRelease.version} && npm run build && npx --no-install electron-builder --mac --publish never" } ], [