mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-04-29 19:54:49 +02:00

This is the first in a series for cleaning up the top directory (root) of the repository and move various files/folders into nicely organized directory structures. GitLab: #749 Change-Id: If59b74fff981df242bc26e62a070bdb81d7baded
16 lines
429 B
Bash
Executable file
16 lines
429 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo ""
|
|
cd build-local
|
|
xcrun notarytool submit Jami.app.zip --apple-id ${APPLE_ACCOUNT} --password ${APPLE_PASSWORD} --output-format plist --team-id ${TEAM_ID} --wait > UploadInfo.plist
|
|
|
|
STATUS=$(xmllint --xpath "/plist/dict/key[.='status']/following-sibling::string[1]/node()" UploadInfo.plist)
|
|
if [ "$STATUS" == "Accepted" ];
|
|
then
|
|
echo "notarization success"
|
|
break
|
|
else
|
|
echo "notarization failed"
|
|
break
|
|
exit 1
|
|
fi
|