From c3f0ee88e2464b4b2004f560e7d971d79b4817cc Mon Sep 17 00:00:00 2001 From: Simon Uhrmann Date: Fri, 1 Jan 2021 23:59:02 +0100 Subject: [PATCH] Proper Electron release workflow --- .github/workflows/release-electron.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-electron.yml b/.github/workflows/release-electron.yml index 1bb6b44..4334ec6 100644 --- a/.github/workflows/release-electron.yml +++ b/.github/workflows/release-electron.yml @@ -28,6 +28,6 @@ jobs: run: yarn - name: Build Electron release - run: yarn run electron:build + run: yarn run release env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index e790065..849ab41 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "anno-1800-calculator", "productName": "Anno 1800 Calculator", - "version": "v0.4.5", + "version": "0.4.5", "description": "Calculate your populations' demands and optimal production chains.", "contributors": [ "Simon Uhrmann ", @@ -20,6 +20,7 @@ "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", + "release": "vue-cli-service electron:build", "electron:build": "vue-cli-service electron:build", "electron:serve": "vue-cli-service electron:serve", "postinstall": "electron-builder install-app-deps",