From c5ab4dd4d5493073af3824aec8c14317e807da0e Mon Sep 17 00:00:00 2001 From: Guillaume Destuynder Date: Thu, 31 Oct 2019 14:50:29 -0700 Subject: [PATCH] add centos 8 to the auto build targets --- build_all.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build_all.sh b/build_all.sh index 8818c5c..39cae4d 100755 --- a/build_all.sh +++ b/build_all.sh @@ -11,11 +11,17 @@ docker run --rm -ti -v $(pwd):/build centos:7 /bin/bash -c "yum install -y make mv audisp-json-${VERSION}-1.x86_64.rpm release/audisp-json-${VERSION}-1.x86_64-centos7.rpm sudo make clean || exit +docker run --rm -ti -v $(pwd):/build centos:8 /bin/bash -c "yum install -y make && cd /build && make rpm-deps" && \ + mv audisp-json-${VERSION}-1.x86_64.rpm release/audisp-json-${VERSION}-1.x86_64-centos8.rpm +sudo make clean || exit + + docker run --rm -ti -v $(pwd):/build ubuntu:14.04 /bin/bash -c "apt-get update && apt-get install -y make && cd /build && make deb-deps" && \ mv audisp-json_${VERSION}_amd64.deb release/audisp-json-${VERSION}-1.x86_64-ubuntu1404.deb sudo make clean || exit hub release create -m "Releasing ${VERSION}" ${VERSION} hub release edit -m "Releasing ${VERSION}" -a release/audisp-json-${VERSION}-1.x86_64-centos7.rpm ${VERSION} +hub release edit -m "Releasing ${VERSION}" -a release/audisp-json-${VERSION}-1.x86_64-centos8.rpm ${VERSION} hub release edit -m "Releasing ${VERSION}" -a release/audisp-json-${VERSION}-1.x86_64-amazon.rpm ${VERSION} hub release edit -m "Releasing ${VERSION}" -a release/audisp-json-${VERSION}-1.x86_64-ubuntu1404.deb ${VERSION}