From b76c40c80ebe9b2072d39ec312ff76945c40d675 Mon Sep 17 00:00:00 2001 From: Johnny Shankman`` Date: Sat, 4 Nov 2023 18:14:40 -0400 Subject: [PATCH] fix release --- .github/workflows/release.yml | 5 +---- package.json | 1 + release/app/package.json | 8 ++++---- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ef7189..b4ff402 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,8 @@ jobs: - name: Lint run: yarn lint - - name: Build - run: yarn build - - name: Package - run: yarn package + run: yarn build && yarn package-ci - name: get-npm-version id: package-version diff --git a/package.json b/package.json index 802cff3..8a73edd 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "postinstall": "ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && npm run build:dll", "lint": "cross-env NODE_ENV=development eslint . --ext .js,.jsx,.ts,.tsx", "package": "ts-node ./.erb/scripts/clean.js dist && npm run build && electron-builder build --publish never && npm run build:dll", + "package-ci": "ts-node ./.erb/scripts/clean.js dist && npm run build && electron-builder build --publish always --win --mac --linux && npm run build:dll", "rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir release/app", "start": "ts-node ./.erb/scripts/check-port-in-use.js && npm run start:renderer", "start:main": "cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only .", diff --git a/release/app/package.json b/release/app/package.json index de2f9ac..18495b3 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,12 +1,12 @@ { - "name": "electron-react-boilerplate", - "version": "4.6.0", - "description": "A foundation for scalable desktop apps", + "name": "hihat", + "version": "0.0.1", + "description": "An elegant music player", "license": "MIT", "author": { "name": "Electron React Boilerplate Maintainers", "email": "electronreactboilerplate@gmail.com", - "url": "https://github.com/electron-react-boilerplate" + "url": "https://github.com/johnnyshankman/hihat" }, "main": "./dist/main/main.js", "scripts": {