CI: retry package uploading in case of failure
In certain cases Bintray may return errors like `invalid version a.b.c` for specific tasks. This probably happens because we now running package uploading in parallel. Retrying upload one more time should fix the problem.
This commit is contained in:
parent
9afa713d44
commit
f6a1564aec
@ -107,5 +107,8 @@ if ! $DO_UPLOAD; then
|
||||
./build-package.sh -a "$TERMUX_ARCH" -I $PACKAGE_NAMES
|
||||
else
|
||||
echo "[*] Uploading packages to Bintray:"
|
||||
./scripts/package_uploader.sh -p "${PWD}/debs" $PACKAGE_NAMES
|
||||
if ! ./scripts/package_uploader.sh -p "${PWD}/debs" $PACKAGE_NAMES; then
|
||||
echo "[*] Uploading packages to Bintray (retry):"
|
||||
./scripts/package_uploader.sh -p "${PWD}/debs" $PACKAGE_NAMES
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user