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

11 lines
274 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if [ -f "/opt/cirp/previous_runs_commit" ] && [ "$(cat /opt/cirp/previous_runs_commit)" == "$(git rev-parse HEAD)" ]
then
# No new commits in the repo
touch /opt/cirp/previous_runs_commit
git log -1
echo "No new commits in the repo"
exit 0
fi