X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/ae829d30657a177845d8a5555218bc39dd52003a..fccffe4987bd82fe49fff2de88e6a0cad6d2f29a:/continuous/cron.sh diff --git a/continuous/cron.sh b/continuous/cron.sh index ef5a309..b61a8f3 100755 --- a/continuous/cron.sh +++ b/continuous/cron.sh @@ -9,8 +9,10 @@ cd $(dirname $0) mkdir -p logs NOW=$(date +%F_%R:%S) -LOG=logs/${NOW}.log +LOG=${NOW}.log -make -C steps > $LOG 2>&1 || cat $LOG +make -C steps > logs/$LOG 2>&1 || cat logs/$LOG make -C www --silent publish + +( cd logs && git add $LOG && git commit --quiet -m 'Automatic commit' && git push --quiet )