builder: better mac automation

Make the right zip release filename and gpg signature when done
building for mac.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2019-04-27 15:45:03 -07:00
parent 15f040f3c4
commit 57ed465ebb
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 6 additions and 2 deletions

View File

@ -2632,8 +2632,12 @@ build_project() {
codesign -s "Developer ID Application" --deep ./visualboyadvance-m.app || : codesign -s "Developer ID Application" --deep ./visualboyadvance-m.app || :
rm -f ./visualboyadvance-m-Mac.zip zip=./visualboyadvance-m-Mac-${target_bits:-$bits}bit.zip
zip -9r ./visualboyadvance-m-Mac.zip ./visualboyadvance-m.app
rm -f $zip
zip -9r $zip ./visualboyadvance-m.app
gpg --detach-sign -a $zip
elif [ "$target_os" != windows ] && path_exists visualboyadvance-m; then elif [ "$target_os" != windows ] && path_exists visualboyadvance-m; then
$STRIP visualboyadvance-m $STRIP visualboyadvance-m
elif [ "$target_os" = windows ] && path_exists visualboyadvance-m.exe; then elif [ "$target_os" = windows ] && path_exists visualboyadvance-m.exe; then