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 {
23
23
exit 1
24
24
fi
25
25
26
- echo " Building ${osname} binary"
26
+ echo " Building ${osname} - ${GOARCH} binary"
27
27
export GOOS
28
28
export GOARCH
29
29
go build -ldflags " $ldflags " -o $buildpath /$target go/cmd/gh-ost/main.go
30
30
31
31
if [ $? -ne 0 ]; then
32
- echo " Build failed for ${osname} "
32
+ echo " Build failed for ${osname} ${GOARCH} . "
33
33
exit 1
34
34
fi
35
35
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 )
37
37
38
38
if [ " $GOOS " == " linux" ] ; then
39
39
echo " Creating Distro full packages"
@@ -63,7 +63,9 @@ main() {
63
63
mkdir -p ${buildpath}
64
64
rm -rf ${buildpath:? } /*
65
65
build GNU/Linux linux linux amd64
66
+ build GNU/Linux linux linux arm64
66
67
build macOS osx darwin amd64
68
+ build macOS osx darwin arm64
67
69
68
70
echo " Binaries found in:"
69
71
find $buildpath /gh-ost* -type f -maxdepth 1
You can’t perform that action at this time.
0 commit comments