Fix scripts so app is appropriately zipped

It was nested inside Products before
This commit is contained in:
Brandon Evans 2021-01-19 21:04:41 -07:00
parent 29aa1e3b0e
commit b2608d009a
No known key found for this signature in database
GPG key ID: D58A4B8DB64F8E93
2 changed files with 5 additions and 2 deletions

View file

@ -54,7 +54,10 @@ git push --follow-tags
scripts/package_release.sh
# Notarize the app
scripts/notarize.sh "test@example.com" "@keychain:altool" MyOrg Product/Xcodes.zip
# Do this from the Product directory so the app is zipped without being nested inside Product
pushd Product
../scripts/notarize.sh "test@example.com" "@keychain:altool" MyOrg Xcodes.zip
popd
# Go to https://github.com/RobotsAndPencils/XcodesApp/releases
# Edit the latest draft release

View file

@ -66,4 +66,4 @@ app_path="$(basename -s ".zip" "$file").app"
xcrun stapler staple "$app_path"
# Zip the stapled app for distribution
zip -r "$file" "$app_path"
ditto -c -k --sequesterRsrc --keepParent "$file" "$app_path"