diff options
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/releaser.sh | 4 |
1 files changed, 1 insertions, 3 deletions
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 |