File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ function build {
2323 exit 1
2424 fi
2525
26- echo " Building ${osname} binary"
26+ echo " Building ${osname} - ${GOARCH} binary"
2727 export GOOS
2828 export GOARCH
2929 go build -ldflags " $ldflags " -o $buildpath /$target go/cmd/gh-ost/main.go
3030
3131 if [ $? -ne 0 ]; then
32- echo " Build failed for ${osname} "
32+ echo " Build failed for ${osname} ${GOARCH} . "
3333 exit 1
3434 fi
3535
36- (cd $buildpath && tar cfz ./gh-ost-binary-${osshort} -${timestamp} .tar.gz $target )
36+ (cd $buildpath && tar cfz ./gh-ost-binary-${osshort} -${GOARCH} - ${ timestamp} .tar.gz $target )
3737
3838 if [ " $GOOS " == " linux" ] ; then
3939 echo " Creating Distro full packages"
@@ -63,7 +63,9 @@ main() {
6363 mkdir -p ${buildpath}
6464 rm -rf ${buildpath:? } /*
6565 build GNU/Linux linux linux amd64
66+ build GNU/Linux linux linux arm64
6667 build macOS osx darwin amd64
68+ build macOS osx darwin arm64
6769
6870 echo " Binaries found in:"
6971 find $buildpath /gh-ost* -type f -maxdepth 1
You can’t perform that action at this time.
0 commit comments