mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-27 22:06:38 +08:00
Codesign the dmg
This commit is contained in:
parent
5ebe645d62
commit
28caea2b26
1 changed files with 9 additions and 2 deletions
|
|
@ -38,11 +38,18 @@ cp -r $app_dir $dmg_dir/
|
|||
hdiutil create $dmg_path -ov -volname ${app_name}Install -fs HFS+ -srcfolder $dmg_dir
|
||||
|
||||
if [ -n "$team_id" ]; then
|
||||
codesign --verify --verbose=4 "${app_dir}"
|
||||
|
||||
codesign --sign="$identity" "$dmg_path"
|
||||
codesign --verify --verbose=4 "$dmg_path"
|
||||
|
||||
xcrun notarytool submit \
|
||||
--team-id "${team_id}" --apple-id "${apple_id}" --password "${password}" \
|
||||
--team-id "${team_id}" \
|
||||
--apple-id "${apple_id}" \
|
||||
--password "${password}" \
|
||||
--progress \
|
||||
--wait \
|
||||
$dmg_path
|
||||
"$dmg_path"
|
||||
|
||||
spctl -a -t exec -vvv "$app_dir"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue