mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 19:11:31 -07:00
Update sign_macos_bundle.sh
This commit is contained in:
@@ -23,7 +23,7 @@ fi
|
||||
APP_BUNDLE_PATH="$1"
|
||||
|
||||
# Verify that app bundle exists
|
||||
if [[ ! -e "$APP_BUNDLE_PATH" ]]; then
|
||||
if [[ ! -f "$APP_BUNDLE_PATH" ]]; then
|
||||
echo "::error file=$0::App bundle not found at: $APP_BUNDLE_PATH"
|
||||
exit 1
|
||||
fi
|
||||
@@ -47,7 +47,6 @@ fi
|
||||
# Sign app bundle
|
||||
if [[ -n "$MACOS_CERTIFICATE_NAME" ]]; then
|
||||
echo "::group::Sign app bundle"
|
||||
security unlock-keychain -p "$MACOS_CI_KEYCHAIN_PWD" build.keychain
|
||||
/usr/bin/codesign --sign="$MACOS_CERTIFICATE_NAME" --entitlements=".ci/macos.entitlements" --options=runtime --force --deep --timestamp --verbose "$APP_BUNDLE_PATH"
|
||||
echo "::endgroup::"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user