File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ set -e
2
3
3
4
function showUsageAndExit() {
4
5
echo " Insufficient or invalid options provided"
87
88
if [ " ${full_build} " == " true" ]; then
88
89
# the following line give an error in MacOS
89
90
# echo "Building "$'\e[1m'"${filename^^}:${build_version}"$'\e[0m'" for all platforms..."
90
- platforms=" darwin/amd64/macosx/x64 linux/386/linux/i586 linux/amd64/linux/x64 windows/386/windows/i586 windows/amd64/windows/x64"
91
+ # string format: {GOOS}/{GOARCH}/{ZIP_FILE_OS_NAME}/{ZIP_FILE_ARCH_NAME}
92
+ platforms=" darwin/amd64/darwin/amd64 darwin/arm64/darwin/arm64 linux/386/linux/i586 linux/arm64/linux/arm64 linux/amd64/linux/amd64 windows/386/windows/i586 windows/amd64/windows/x64"
91
93
else
92
94
detectPlatformSpecificBuild
93
95
echo " Building " $' \e [1m' " ${filename^^} :${build_version} " $' \e [0m' " for detected " $' \e [1m' " ${platform} " $' \e [0m' " platform..."
You can’t perform that action at this time.
0 commit comments