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
jenli669 04a9bc46f4
docs(copyright): update and add copyright info
zealously updates and adds qTox copyright information.

Fixes #5713
2019-06-28 01:18:26 +02:00

11 lines
235 B
Bash

#!/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