fix: Windows desktop updater — sign setup.exe, preserve latest.json on deploy

Sign *-setup.exe for updater manifest, pick newest bundle per platform,
reconcile after git checkout, and stop overwriting latest.json with empty
placeholder. Bump desktop to 0.1.3.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-14 12:03:48 +09:00
parent b0b0fcb682
commit 967df18287
6 changed files with 56 additions and 15 deletions
+7
View File
@@ -73,6 +73,13 @@ fi
[ ! -f "$DOCKER_COMPOSE_FILE" ] && err "docker-compose.yml 없음: $DOCKER_COMPOSE_FILE"
cd "$WORK_TREE"
# Phase 1b — git checkout이 placeholder latest.json 을 되돌리므로 signed bundle 기준 복구
RECONCILE="$WORK_TREE/scripts/reconcile-desktop-latest-json.sh"
if [[ -x "$RECONCILE" ]]; then
info "[Phase 1b] desktop latest.json reconcile"
WORK_TREE="$WORK_TREE" "$RECONCILE" || warn "reconcile-desktop-latest-json 실패"
fi
# Phase 2 — Docker 이미지 빌드 (호스트 npm 사용 안 함 → postcss 홈 디렉터리 간섭 방지)
info "[Phase 2] Docker 이미지 빌드 ($SERVICE_NAME)"