diff options
author | Paweł Krupa <pawel@krupa.net.pl> | 2018-12-20 10:10:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 10:10:06 +0100 |
commit | 7516650b62a35d1cfed731fb01b6d21d04bda39c (patch) | |
tree | 8eb6cf4ba067b826af8b7ede4f61e2c85d79f76c /.travis | |
parent | c6760d850df169bcab2d890c450c0fa954c9015e (diff) |
don't care about artifacts in RC releases
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 |