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

11 lines
235 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if [ ! -z "$TRAVIS_TEST_RESULT" ] && [ "$TRAVIS_TEST_RESULT" != "0" ]
then
echo "Build has failed, skipping updating the cache"
exit 0
fi
mkdir -p /opt/cirp
git rev-parse HEAD > /opt/cirp/previous_runs_commit