035b52e793a1e1676a7bd37d5dfc628cdce95d55
[matches/honours.git] / update.sh
1 #!/bin/bash
2
3 # Script to update all the honours stuff on a regular basis
4
5 # I am testing the script by adding this comment here. Hopefully in 2 minutes time it will be committed.
6
7 # TEST to make sure cron actually works
8 echo "It worked" >> test.cron
9
10 git add update.sh
11 git add papers
12 git add research
13 git add thesis/proposal/*.tex
14 git add thesis/proposal/*.pdf
15 git add thesis/proposal/*.bib
16 git add thesis/*.tex
17 git add thesis/*.pdf
18 git add thesis/*.bib
19 git add course/semester2
20
21 git commit -m "Automatic commit at $(date)"
22 if [ "$?" == 0 ]; then
23         git push git.ucc
24 fi

UCC git Repository :: git.ucc.asn.au