Created
April 9, 2020 08:10
-
-
Save cvl/8de372938485855c6951a518f8f2e723 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
app_dir=deploy/darwin/build/MysteriumVPN.app | |
rm -rf "deploy/darwin/build/MysteriumVPN.zip" | |
echo "### creating zip" | |
ditto -ck --rsrc --sequesterRsrc --keepParent "${app_dir}" "deploy/darwin/build/MysteriumVPN.zip" | |
#ditto -c -k -–sequesterRsrc --keepParent "${app_dir}" "deploy/darwin/build/MysteriumVPN.zip" | |
echo "### uploading to apple" | |
xcrun altool --notarize-app -t osx -f "deploy/darwin/build/MysteriumVPN.zip" --primary-bundle-id="network.mysteriumvpn.desktopvpn" -u "<username>" -p "<password>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment