Mac App Store release script: drop the archive profile check !403

merged merged by cmc on 2026-11-20 08:34 UTC · krz/orgstar:mas-release into main

1 file changed, +3 −3

Layout: unified · split

scripts/release-macos.sh +3 −3
@@ -31,8 +31,9 @@ preflight() {
3131}
3232
3333# Checks the built app: no Sparkle, no updater keys, no process launching, no temporary exceptions,
34# a provisioning profile in the app and in each extension, and no license or update text in its
35# string tables.
34# and no license or update text in its string tables. Provisioning profiles aren't checked here: the
35# archive is signed for development, which gives extensions without capabilities none, and the
36# export signs every bundle again with a distribution profile.
3637check_archive() {
3738 set -- "$1"/Products/Applications/*.app
3839 [ -d "$1" ] || fail "no app in the archive"
@@ -50,7 +51,6 @@ check_archive() {
5051 case "$entitlements" in
5152 *temporary-exception*) fail "$(basename "$bundle") has a temporary-exception entitlement" ;;
5253 esac
53 [ -f "$bundle/Contents/embedded.provisionprofile" ] || fail "$(basename "$bundle") has no embedded.provisionprofile"
5454 done
5555 found="$(find "$app" -path '*.lproj/*' -name '*.strings' -exec sh -c \
5656 'plutil -convert json -o - "$1" | grep -Eio "sponsor|license key|krz\.sh|check for updates" | sed "s|^|$1: |"' _ {} \; | head -1)"