File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,10 +80,18 @@ jobs:
8080 run : |
8181 python $GITHUB_WORKSPACE/release/build.py
8282 cp $GITHUB_WORKSPACE/OpenBCI_GUI/sketch.icns $GITHUB_WORKSPACE/application.macosx/OpenBCI_GUI.app/Contents/Resources/sketch.icns
83- dmgbuild -s release/mac/dmgbuild_settings.py -D app=$GITHUB_WORKSPACE/application.macosx/OpenBCI_GUI.app \
83+
84+ - name : Sign Build
85+ run : |
86+ codesign -f -v -s "Developer ID Application: OpenBCI, Inc. (3P82WRGLM8)" $GITHUB_WORKSPACE/application.macosx/OpenBCI_GUI.app
87+
88+ - name : Create DMG
89+ run : |
90+ dmgbuild -s release/mac/dmgbuild_settings.py \
91+ -D app=$GITHUB_WORKSPACE/application.macosx/OpenBCI_GUI.app \
8492 OpenBCI_GUI $GITHUB_WORKSPACE/application.macosx.dmg
8593
86- - name : Sign
94+ - name : Sign DMG
8795 run : |
8896 codesign -f -v -s "Developer ID Application: OpenBCI, Inc. (3P82WRGLM8)" $GITHUB_WORKSPACE/application.macosx.dmg
8997
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def main ():
6060
6161 if LOCAL_OS == MAC :
6262 shutil .move (flavors [LOCAL_OS ] + ".dmg" , new_name + "macosx.dmg" )
63- else :
63+ else : # Windows and Linux
6464 release_directory = flavors [LOCAL_OS ].replace ("application." , new_name )
6565 release_directory = os .path .join (os .getcwd (), release_directory )
6666
You can’t perform that action at this time.
0 commit comments