Update sign_macos_bundle.sh

This commit is contained in:
tooomm
2026-06-08 20:32:35 +02:00
committed by GitHub
parent d35983760b
commit 2c1f32ba81
+1 -2
View File
@@ -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