Set the fork Developer ID in config/local.xcconfig (Manual style + team), re-sign the vendored Sparkle helpers under it, and import the cert with an optional APPLE_P12_PASSWORD. Built, signed, and notarized (Accepted) locally before cutting.
11 lines
297 B
Bash
Executable File
11 lines
297 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -exu
|
|
|
|
certificateFile="codesign"
|
|
|
|
# Recreate the certificate from the secure environment variable
|
|
echo "$APPLE_P12_CERTIFICATE" | base64 --decode > $certificateFile.p12
|
|
|
|
scripts/codesign/import_certificate_into_new_keychain.sh "$certificateFile" "${APPLE_P12_PASSWORD:-}"
|