From 7516650b62a35d1cfed731fb01b6d21d04bda39c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Krupa?= Date: Thu, 20 Dec 2018 10:10:06 +0100 Subject: don't care about artifacts in RC releases --- .travis/releaser.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.travis') diff --git a/.travis/releaser.sh b/.travis/releaser.sh index 07849e9060..46d7441808 100755 --- a/.travis/releaser.sh +++ b/.travis/releaser.sh @@ -74,8 +74,6 @@ if [ "${GIT_TAG}" != "$(git tag --points-at)" ]; then echo "ERROR! Current commit is not tagged. Stopping release creation." exit 1 fi -if [ -z ${RC+x} ]; then - hub release create --prerelease --draft -a "netdata-${GIT_TAG}.tar.gz" -a "netdata-${GIT_TAG}.gz.run" -a "sha256sums.txt" -m "${GIT_TAG}" "${GIT_TAG}" -else +if [ ! -z ${RC+x} ]; then hub release create --draft -a "netdata-${GIT_TAG}.tar.gz" -a "netdata-${GIT_TAG}.gz.run" -a "sha256sums.txt" -m "${GIT_TAG}" "${GIT_TAG}" fi -- cgit v1.2.3