mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-10 09:03:02 +08:00
Ensure notarization succeeded
This commit is contained in:
parent
5ae46ff151
commit
5f07af7ff2
1 changed files with 4 additions and 4 deletions
|
@ -29,12 +29,12 @@ hdiutil create $dmg_path -ov -volname ${app_name}Install -fs HFS+ -srcfolder $dm
|
||||||
|
|
||||||
if [ -n "$team_id" ]; then
|
if [ -n "$team_id" ]; then
|
||||||
xcrun notarytool submit \
|
xcrun notarytool submit \
|
||||||
--team-id "${team_id}" \
|
--team-id "${team_id}" --apple-id "${apple_id}" --password "${password}" \
|
||||||
--apple-id "${apple_id}" \
|
|
||||||
--password "${password}" \
|
|
||||||
--progress \
|
--progress \
|
||||||
--wait \
|
--wait \
|
||||||
$dmg_path
|
$dmg_path \
|
||||||
|
| tee /dev/tty | grep -q "status: Accepted"
|
||||||
|
echo "notarization ok"
|
||||||
else
|
else
|
||||||
echo "[warning] skipping notarization. Please set ELIXIRKIT_NOTARY_{TEAM_ID,APPLE_ID,PASSWORD} environment variables"
|
echo "[warning] skipping notarization. Please set ELIXIRKIT_NOTARY_{TEAM_ID,APPLE_ID,PASSWORD} environment variables"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue