From 5fc694c57b1daea0ec7636c54d52ccf3607e63d3 Mon Sep 17 00:00:00 2001 From: altair823 Date: Sat, 2 May 2026 16:15:47 +0900 Subject: [PATCH] =?UTF-8?q?hotfix(build):=20publish:=20null=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20=E2=80=94=20Mac=20=EB=B9=8C=EB=93=9C=20=EC=8B=9C=20?= =?UTF-8?q?updateInfoBuilder=20crash=20=ED=9A=8C=ED=94=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #20 직후 Mac arm64 dist 시도 중 발견: - Cannot detect repository by .git/config 경고 (3회) - ⨯ Cannot read properties of null (reading 'channel') at computeChannelNames (updateInfoBuilder.ts:47:74) 원인: electron-builder 가 auto-update 메타파일 (latest-mac.yml) 생성 시 publish config 또는 git remote 에서 채널 정보 추론 실패 → null 접근 crash. DMG 자체는 빌드 성공 (dist/Inkling-0.2.3-arm64.dmg) — 후처리 단계 crash. Fix: build.publish = null 명시 — auto-update 메커니즘 미사용 (개인 dogfood) 이라 latest-mac.yml / latest.yml 생성 단계 skip. Windows 빌드도 동일 경고 3회 떴는데 이번 fix 로 함께 사라짐. 검증: npm run dist:dir on Windows → "Cannot detect repository" 경고 사라짐, 정상 빌드. Co-Authored-By: Claude Opus 4.7 (1M context) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index bba1185..afb2889 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "build": { "appId": "xyz.altair823.inkling", "productName": "Inkling", + "publish": null, "files": [ "out/**/*", "package.json"