mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 23:53:54 -07:00
Update sign_macos_bundle.sh
This commit is contained in:
parent
d35983760b
commit
2c1f32ba81
1 changed files with 1 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ fi
|
||||||
APP_BUNDLE_PATH="$1"
|
APP_BUNDLE_PATH="$1"
|
||||||
|
|
||||||
# Verify that app bundle exists
|
# 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"
|
echo "::error file=$0::App bundle not found at: $APP_BUNDLE_PATH"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
@ -47,7 +47,6 @@ fi
|
||||||
# Sign app bundle
|
# Sign app bundle
|
||||||
if [[ -n "$MACOS_CERTIFICATE_NAME" ]]; then
|
if [[ -n "$MACOS_CERTIFICATE_NAME" ]]; then
|
||||||
echo "::group::Sign app bundle"
|
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"
|
/usr/bin/codesign --sign="$MACOS_CERTIFICATE_NAME" --entitlements=".ci/macos.entitlements" --options=runtime --force --deep --timestamp --verbose "$APP_BUNDLE_PATH"
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue