Skip to content
Permalink
Browse files

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>
  • Loading branch information
rkitover committed Apr 27, 2019
1 parent 15f040f commit 57ed465ebba0054f0f0a418341142c60e5216fd3
Showing with 6 additions and 2 deletions.
  1. +6 −2 tools/builder/core.sh
@@ -2632,8 +2632,12 @@ build_project() {

codesign -s "Developer ID Application" --deep ./visualboyadvance-m.app || :

rm -f ./visualboyadvance-m-Mac.zip
zip -9r ./visualboyadvance-m-Mac.zip ./visualboyadvance-m.app
zip=./visualboyadvance-m-Mac-${target_bits:-$bits}bit.zip

rm -f $zip
zip -9r $zip ./visualboyadvance-m.app

gpg --detach-sign -a $zip
elif [ "$target_os" != windows ] && path_exists visualboyadvance-m; then
$STRIP visualboyadvance-m
elif [ "$target_os" = windows ] && path_exists visualboyadvance-m.exe; then

0 comments on commit 57ed465

Please sign in to comment.
You can’t perform that action at this time.