Skip to content

Commit

Permalink
fix cicd command for building release skipping win x64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyGress committed Jan 22, 2025
1 parent e23050c commit 9f2fdd5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
run: |
npm run postinstall
npm run build
npm exec electron-builder -- --publish always --win --mac --linux
npm release
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"build": "concurrently \"npm run build:main\" \"npm run build:renderer\"",
"build:main": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.main.prod.ts",
"clean": "ts-node .erb/scripts/clean.js",
"build:renderer": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.prod.ts",
"rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir src",
"lint": "cross-env NODE_ENV=development eslint . --cache --ext .js,.jsx,.ts,.tsx",
Expand All @@ -18,7 +19,7 @@
"start:renderer": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./.erb/configs/webpack.config.renderer.dev.ts",
"test": "jest",
"prepare": "husky install",
"release": "npm exec electron-builder -- --publish always --linux --x64 && npm exec electron-builder -- --publish always --win --mac --linux"
"release": "npm exec electron-builder -- --publish always --linux --x64 && npm exec electron-builder -- --publish always --win --x64 && npm exec electron-builder -- --publish always --mac --arm64 --linux --arm64"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
Expand Down Expand Up @@ -223,10 +224,6 @@
"semver": "^7.5.4",
"sweetalert2": "^11.7.12"
},
"devEngines": {
"node": ">=14.x",
"npm": ">=7.x"
},
"browserslist": [],
"prettier": {
"overrides": [
Expand Down
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "android-toolkit",
"version": "1.5.23",
"version": "1.5.24",
"description": "Universal app with gui for simple adb connection",
"main": "./dist/main/main.js",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/main/utils/executeCmd.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import util from 'node:util';
const { spawn } = require('node:child_process');
import util from 'node:util';

const { exec } = require('child_process');
export const execPromise = util.promisify(exec);
Expand Down

0 comments on commit 9f2fdd5

Please sign in to comment.