Skip to content

Commit

Permalink
add centos 8 to the auto build targets
Browse files Browse the repository at this point in the history
  • Loading branch information
gdestuynder committed Oct 31, 2019
1 parent ab9ed20 commit c5ab4dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit c5ab4dd

Please sign in to comment.