Skip to content

Commit 4e0c57d

Browse files
committed
fix(ci): prevent electron-builder from auto-publishing, bump to v1.0.20
- Remove GH_TOKEN from package step (prevents electron-builder publishing its own draft) - Only softprops/action-gh-release creates the GitHub Release - Bump version to 1.0.20
1 parent 337f21d commit 4e0c57d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,12 @@ jobs:
112112
mkdir -p ~/.private_keys
113113
echo "$APPLE_API_KEY_BASE64" | base64 --decode > ~/.private_keys/AuthKey_${APPLE_API_KEY_ID}.p8
114114
115-
# ── Package the electron app (unsigned — no CSC_LINK/WIN_CSC_LINK to avoid empty-string errors) ──
115+
# ── Package the electron app ──
116+
# CSC_IDENTITY_AUTO_DISCOVERY=false skips code signing (no certs in CI)
117+
# No GH_TOKEN here — prevents electron-builder from auto-publishing
116118
- name: Package electron app
117119
run: ${{ matrix.build_cmd }}
118120
env:
119-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120121
CSC_IDENTITY_AUTO_DISCOVERY: "false"
121122

122123
# ── List output for debugging ──

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "interview-assistant",
3-
"version": "1.0.19",
3+
"version": "1.0.20",
44
"main": "./dist-electron/main.js",
55
"scripts": {
66
"clean": "npx rimraf dist dist-electron",
@@ -99,7 +99,7 @@
9999
"owner": "Scode-Njnjas",
100100
"repo": "interview-assistant",
101101
"private": false,
102-
"releaseType": "draft"
102+
"releaseType": "release"
103103
}
104104
],
105105
"afterSign": "scripts/notarize.js",

0 commit comments

Comments
 (0)