fix: desktop updater signing in non-interactive CI

Use --ci for key generation and pass empty password to tauri signer sign
so Jenkins/SSH builds can sign updater bundles without a TTY.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-14 11:43:16 +09:00
parent 85b5341dee
commit 5c29ddaf23
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ if [[ -f "$KEY_PATH" ]]; then
[[ -f "$bundle" ]] || continue
[[ "$bundle" == *.sig ]] && continue
log "Signing $(basename "$bundle")"
(cd "$DESKTOP_DIR" && npx tauri signer sign -f "$KEY_PATH" "$bundle")
(cd "$DESKTOP_DIR" && npx tauri signer sign -f "$KEY_PATH" -p "${TAURI_SIGNING_PRIVATE_KEY_PASSWORD-}" "$bundle")
done
shopt -u nullglob
else