mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-02-02 10:32:07 -05:00
* Add provisioning profile support for macOS builds * Fix internal variable names in macOS packaging script * Add fallback git reference for validator actions * Add required repository environment to documention deployment jobs * Pass GitHub pull request number to GitHub CLI explicitly * Use shortened commit hash for Steam nightly versions * Ensure that concurrency check for tagged push uses a boolean value * Update disk image creation function to retry ejection on CI * Fix repository checkout in Flatpak publish action * Fix output paths and filenames of generated appcast XML files * Limit notice about notarization password use to non-CI usage * Remove architecture-specific suffix from appcast artifact name
28 lines
823 B
Plaintext
28 lines
823 B
Plaintext
autoload -Uz read_codesign read_codesign_user log_info log_warning
|
|
|
|
if (( ! ${+CODESIGN_IDENT} )) {
|
|
read_codesign
|
|
}
|
|
|
|
if (( ! ${+CODESIGN_IDENT_USER} )) {
|
|
read_codesign_user
|
|
}
|
|
|
|
log_info 'Setting up password for notarization keychain...'
|
|
if (( ! ${+CODESIGN_IDENT_PASS} )) {
|
|
read -s CODESIGN_IDENT_PASS'?Apple Developer ID password: '
|
|
}
|
|
|
|
print ''
|
|
log_info 'Setting up notarization keychain...'
|
|
|
|
if (( ! ${+CI} )) {
|
|
log_warning "
|
|
+ Your Apple ID and an app-specific password is necessary for notarization from CLI
|
|
+ This password will be stored in your macOS keychain under the identifier
|
|
'OBS-Codesign-Password' with access Apple's 'altool' only.
|
|
|
|
"
|
|
}
|
|
xcrun notarytool store-credentials 'OBS-Codesign-Password' --apple-id "${CODESIGN_IDENT_USER}" --team-id "${CODESIGN_TEAM}" --password "${CODESIGN_IDENT_PASS}"
|