publish
5a7f21f1
 #!/bin/sh
36c781c7
 set -e # stop if we encounter an error
 
510f1901
 make clean # clean cruft
 
 svn update # get changes
 
 make -j3 # abuse the cores
5a7f21f1
 
c7862807
 # don't copy over stuff with permissions that make it useless
bfce97a7
 chmod a+r * -R
510f1901
 rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi --exclude project -Prvz --delete . vescum:/srv/www-master.torproject.org/htdocs
13811e24
 
 echo "Forcing mirror update"
510f1901
 ssh vescum '/home/mirroradm/bin/trigger-mirrors'
 ssh vescum chmod g+w -R /srv/www-master.torproject.org/htdocs