1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/.travis/cirp/cleanup5.sh

18 lines
425 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
. .travis/cirp/check_precondition.sh
if [ -z "$TRAVIS_TEST_RESULT" ] && [ "$TRAVIS_TEST_RESULT" == "0" ]
then
echo "Build has not failed, skipping cleanup"
exit 0
fi
. .travis/cirp/install.sh
ci-release-publisher cleanup_publish
ci-release-publisher cleanup_store --scope current-build previous-finished-builds \
--release complete incomplete