Skip to content

Commit

Permalink
Only build RPM and deb packages for amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
dm-2 committed Jul 20, 2022
1 parent f2c2033 commit 36d3800
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ function build {

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

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

0 comments on commit 36d3800

Please sign in to comment.