Mac App Store release script: drop the archive profile check !403
1 file changed, +3 −3
Layout: unified · split
scripts/release-macos.sh +3 −3
| @@ -31,8 +31,9 @@ preflight() { | ||
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | # 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. | |
| 36 | 37 | check_archive() { |
| 37 | 38 | set -- "$1"/Products/Applications/*.app |
| 38 | 39 | [ -d "$1" ] || fail "no app in the archive" |
| @@ -50,7 +51,6 @@ check_archive() { | ||
| 50 | 51 | case "$entitlements" in |
| 51 | 52 | *temporary-exception*) fail "$(basename "$bundle") has a temporary-exception entitlement" ;; |
| 52 | 53 | esac |
| 53 | [ -f "$bundle/Contents/embedded.provisionprofile" ] || fail "$(basename "$bundle") has no embedded.provisionprofile" | |
| 54 | 54 | done |
| 55 | 55 | found="$(find "$app" -path '*.lproj/*' -name '*.strings' -exec sh -c \ |
| 56 | 56 | 'plutil -convert json -o - "$1" | grep -Eio "sponsor|license key|krz\.sh|check for updates" | sed "s|^|$1: |"' _ {} \; | head -1)" |