X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=update.sh;h=ec8888fe363bb46c578867067059cbddd65519c1;hb=8e9a9f1193ea77f083ada9e5a345003218b66c3b;hp=0eeb1155f7a6b32b447396cdfc370a1f01e48784;hpb=bb0d2b761bd6986a18a6d0aec13eccb8ebbb9dab;p=matches%2Fhonours.git diff --git a/update.sh b/update.sh index 0eeb1155..ec8888fe 100755 --- a/update.sh +++ b/update.sh @@ -9,7 +9,6 @@ cd "$directory" # Need to do this too. Apparently ##eval `ssh-agent -s` -echo "Committing at $(date)" >> commits.log git add update.sh git add papers git add research @@ -24,6 +23,7 @@ git add course/semester2 git commit -m "Automatic commit at $(date)" if [ "$?" == 0 ]; then + echo "Commit at $(date)" >> commits.log git push git.ucc 2>&1 >> commits.log fi