File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,17 @@ function build {
2323 exit 1
2424 fi
2525
26- # TODO: remove GO111MODULE once gh-ost uses Go modules
27- echo " Building ${osname} binary"
26+ echo " Building ${osname} -${GOARCH} binary"
2827 export GOOS
2928 export GOARCH
3029 GO111MODULE=off go build -ldflags " $ldflags " -o $buildpath /$target go/cmd/gh-ost/main.go
3130
3231 if [ $? -ne 0 ]; then
33- echo " Build failed for ${osname} "
32+ echo " Build failed for ${osname} ${GOARCH} . "
3433 exit 1
3534 fi
3635
37- (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 )
3837
3938 if [ " $GOOS " == " linux" ] ; then
4039 echo " Creating Distro full packages"
@@ -64,7 +63,9 @@ main() {
6463 mkdir -p ${buildpath}
6564 rm -rf ${buildpath:? } /*
6665 build GNU/Linux linux linux amd64
66+ build GNU/Linux linux linux arm64
6767 build macOS osx darwin amd64
68+ build macOS osx darwin arm64
6869
6970 echo " Binaries found in:"
7071 find $buildpath /gh-ost* -type f -maxdepth 1
You can’t perform that action at this time.
0 commit comments