File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33PACKAGE=" npx @electron/packager"
44
5- BIN_LIN=" livebot-linux-x64"
6- BIN_OSX=" livebot-darwin-x64"
7- BIN_WIN=" livebot-windows-x64"
8-
95# Make sure the patch is applied
106tar -xvf patch.tar
117
128# Create and move into the build directory, perform the build
139mkdir build
1410cd build
1511
16- $PACKAGE ../ --platform=darwin,linux,win32 --arch=x64 --icon=../resources/icons/logo
17-
18- tar -czvf " $BIN_LIN " .tar.gz " $BIN_LIN " &
19- tar -czvf " $BIN_OSX " .tar.gz " $BIN_OSX " &
20- zip -rv " $BIN_WIN " .zip livebot-win32-x64
12+ $PACKAGE ../ --platform=darwin,linux,win32 --arch=x64,arm64 --icon=../resources/icons/logo
2113
22- gpg -ab " $BIN_LIN " .tar.gz
23- gpg -ab " $BIN_OSX " .tar.gz
24- gpg -ab " $BIN_WIN " .zip
14+ # Archive
15+ for dir in $( ls) ; do
16+ zip -rv " $dir " .tar.gz " $dir " &
17+ done
18+ wait
2519
26- gpg --verify " $BIN_LIN " .tar.gz.asc
27- gpg --verify " $BIN_OSX " .tar.gz.asc
28- gpg --verify " $BIN_WIN " .zip.asc
20+ # Sign
21+ for archive in $( ls * .gz) ; do
22+ gpg -ab " $archive "
23+ gpg --verify " $archive " .asc
24+ done
2925
3026echo
3127echo " Your releases have been created in $( pwd) "
32-
33- wait
You can’t perform that action at this time.
0 commit comments