Only build RPM and deb packages for amd64
This commit is contained in:
parent
ffe54f48ed
commit
2d3e8d998e
3
build.sh
3
build.sh
@ -35,7 +35,8 @@ function build {
|
|||||||
|
|
||||||
(cd $buildpath && tar cfz ./gh-ost-binary-${osshort}-${GOARCH}-${timestamp}.tar.gz $target)
|
(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"
|
echo "Creating Distro full packages"
|
||||||
builddir=$(setuptree)
|
builddir=$(setuptree)
|
||||||
cp $buildpath/$target $builddir/gh-ost/usr/bin
|
cp $buildpath/$target $builddir/gh-ost/usr/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user