From 03561a19c8e842129218c098f203a81c065a7afb Mon Sep 17 00:00:00 2001 From: Phil Rzewski Date: Fri, 10 Nov 2023 09:12:10 -0800 Subject: [PATCH] Rename "release" target to avoid clash with "nx release" --- .github/workflows/build.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- apps/zui/package.json | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb1d50e711..957eefd265 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: - name: Build Zui uses: ./.github/actions/build-zui with: - cmd: yarn nx package zui + cmd: yarn nx package-zui zui gh_token: ${{ secrets.GITHUB_TOKEN }} # Windows csc_key_password: ${{ secrets.WINDOWS_SIGNING_PASSPHRASE }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2022bff46d..6799e9d84a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: set -x case ${{ runner.os }} in Linux ) - yarn nx package zui --linux=deb --publish never + yarn nx package-zui zui --linux=deb --publish never sudo apt install -y --no-install-recommends ./dist/apps/zui/*.deb ;; esac diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8936cb2342..b94f2e9487 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: - name: Build Zui uses: ./.github/actions/build-zui with: - cmd: yarn nx release zui + cmd: yarn nx release-zui zui gh_token: ${{ secrets.GITHUB_TOKEN }} # Windows csc_key_password: ${{ secrets.WINDOWS_SIGNING_PASSPHRASE }} diff --git a/apps/zui/package.json b/apps/zui/package.json index 8a48e85774..4b1d27370b 100644 --- a/apps/zui/package.json +++ b/apps/zui/package.json @@ -26,8 +26,8 @@ "tsc": "tsc", "postinstall": "node scripts/post-install", "prepare": "husky install", - "package": "electron-builder --publish never", - "release": "electron-builder", + "package-zui": "electron-builder --publish never", + "release-zui": "electron-builder", "package-insiders": "electron-builder --config electron-builder-insiders.json --publish never", "release-insiders": "electron-builder --config electron-builder-insiders.json --publish always" },