Skip to content

Commit 03561a1

Browse files
committed
Rename "release" target to avoid clash with "nx release"
1 parent e4d5a7a commit 03561a1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Build Zui
2323
uses: ./.github/actions/build-zui
2424
with:
25-
cmd: yarn nx package zui
25+
cmd: yarn nx package-zui zui
2626
gh_token: ${{ secrets.GITHUB_TOKEN }}
2727
# Windows
2828
csc_key_password: ${{ secrets.WINDOWS_SIGNING_PASSPHRASE }}

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
set -x
2828
case ${{ runner.os }} in
2929
Linux )
30-
yarn nx package zui --linux=deb --publish never
30+
yarn nx package-zui zui --linux=deb --publish never
3131
sudo apt install -y --no-install-recommends ./dist/apps/zui/*.deb
3232
;;
3333
esac

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Build Zui
2323
uses: ./.github/actions/build-zui
2424
with:
25-
cmd: yarn nx release zui
25+
cmd: yarn nx release-zui zui
2626
gh_token: ${{ secrets.GITHUB_TOKEN }}
2727
# Windows
2828
csc_key_password: ${{ secrets.WINDOWS_SIGNING_PASSPHRASE }}

apps/zui/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"tsc": "tsc",
2727
"postinstall": "node scripts/post-install",
2828
"prepare": "husky install",
29-
"package": "electron-builder --publish never",
30-
"release": "electron-builder",
29+
"package-zui": "electron-builder --publish never",
30+
"release-zui": "electron-builder",
3131
"package-insiders": "electron-builder --config electron-builder-insiders.json --publish never",
3232
"release-insiders": "electron-builder --config electron-builder-insiders.json --publish always"
3333
},

0 commit comments

Comments
 (0)