The system was upgraded and everything is back online. If you experience any issues, please send an email to - thanks a lot for your patience!

Unverified Commit 6b9c977a authored by Vitalii Koshura's avatar Vitalii Koshura Committed by GitHub

Merge pull request #3398 from BOINC/cb-deploy-cleanup

Travis Bintray: fix bug in cleanup script
parents 56a6b420 23a14c16
......@@ -60,6 +60,7 @@ command -v jq >/dev/null 2>&1 || { echo >&2 "jq (command-line json parser) is ne
if [ "${BINTRAY_API_KEY}" == "" ] ; then
echo "BINTRAY_API_KEY is missing; doing nothing"
exit 0
......@@ -102,7 +103,7 @@ ${BINTRAY_CURL} "${BINTRAY_API}/packages/${BINTRAY_REPO_OWNER}/${BINTRAY_REPO}/$
pr_ids=$(jq -r .versions[]? < "${TMPDIR}/package_pr.txt" | cut -d_ -f1 | cut -b 3- | sort -u)
for pr in $pr_ids
echo $pr
echo "$pr"
state=$(${GITHUB_CURL} "${GITHUB_API}/repos/${GITHUB_USER}/${GITHUB_REPO}/pulls/${pr}" | jq -r .state)
if [ "$state" = "closed" ]; then
echo " is closed"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment