mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
fix: quote APT_SIGNING_KEY_ID in gpg export (#1738)
Co-authored-by: Test User <test@example.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
This commit is contained in:
co-authored by
Test User
Claude Opus 4.7
Steven Enamakel
parent
98b579e6c7
commit
32485b6b8b
@@ -83,7 +83,9 @@ gpg "${GPG_ARGS[@]}" -abs \
|
||||
echo "[apt-repo] Release signed"
|
||||
|
||||
# ── Export public key ─────────────────────────────────────────────────────────
|
||||
gpg --batch --yes --armor --export ${APT_SIGNING_KEY_ID:-} > "$OUTPUT_DIR/KEY.gpg"
|
||||
EXPORT_ARGS=(--batch --yes --armor --export)
|
||||
[[ -n "${APT_SIGNING_KEY_ID:-}" ]] && EXPORT_ARGS+=("$APT_SIGNING_KEY_ID")
|
||||
gpg "${EXPORT_ARGS[@]}" > "$OUTPUT_DIR/KEY.gpg"
|
||||
echo "[apt-repo] Public key → KEY.gpg"
|
||||
|
||||
echo "[apt-repo] Done. Files:"
|
||||
|
||||
Reference in New Issue
Block a user