@cryptotaxi247 / netdata-1 / commits / 3476afdba

more robust GH release creation

Paweł Krupa committed Feb 6, 2019 at 17:56 UTC 3476afdba5945060c1a712774c59d978f1cc515e
1 file changed +4 -2
.travis/releaser.sh
+4 -2
@@ -87,8 +87,10 @@ if [ "${GIT_TAG}" != "$(git tag --points-at)" ]; then
87 echo "ERROR! Current commit is not tagged. Stopping release creation."
88 exit 1
89 fi
90 -hub release create --draft \
90 +until hub release create --draft \
91 -a "artifacts/netdata-${GIT_TAG}.tar.gz" \
92 -a "artifacts/netdata-${GIT_TAG}.gz.run" \
93 -a "artifacts/sha256sums.txt" \
94 - -m "${GIT_TAG}" "${GIT_TAG}"
94 + -m "${GIT_TAG}" "${GIT_TAG}"; do
95 + sleep 5
96 +done