Skip to content

Commit 36d3800

Browse files
author
dm-2
committed
Only build RPM and deb packages for amd64
1 parent f2c2033 commit 36d3800

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ function build {
3535

3636
(cd $buildpath && tar cfz ./gh-ost-binary-${osshort}-${GOARCH}-${timestamp}.tar.gz $target)
3737

38-
if [ "$GOOS" == "linux" ] ; then
38+
# build RPM and deb for Linux, x86-64 only
39+
if [ "$GOOS" == "linux" ] && [ "$GOARCH" == "amd64" ] ; then
3940
echo "Creating Distro full packages"
4041
builddir=$(setuptree)
4142
cp $buildpath/$target $builddir/gh-ost/usr/bin

0 commit comments

Comments
 (0)