summaryrefslogtreecommitdiffstats
path: root/.travis/releaser.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/releaser.sh')
-rwxr-xr-x.travis/releaser.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis/releaser.sh b/.travis/releaser.sh
index 870dec52..c40f4c1b 100755
--- a/.travis/releaser.sh
+++ b/.travis/releaser.sh
@@ -29,7 +29,7 @@ if [ ! -f .gitignore ]; then
exit 1
fi
-export GIT_MAIL="pawel+bot@netdata.cloud"
+export GIT_MAIL="bot@netdata.cloud"
export GIT_USER="netdatabot"
echo "--- Initialize git configuration ---"
git config user.email "${GIT_MAIL}"
@@ -87,8 +87,10 @@ if [ "${GIT_TAG}" != "$(git tag --points-at)" ]; then
echo "ERROR! Current commit is not tagged. Stopping release creation."
exit 1
fi
-hub release create --draft \
+until hub release create --draft \
-a "artifacts/netdata-${GIT_TAG}.tar.gz" \
-a "artifacts/netdata-${GIT_TAG}.gz.run" \
-a "artifacts/sha256sums.txt" \
- -m "${GIT_TAG}" "${GIT_TAG}"
+ -m "${GIT_TAG}" "${GIT_TAG}"; do
+ sleep 5
+done