publish
5a7f21f1
 #!/bin/sh
36c781c7
 set -e # stop if we encounter an error
 
a7d1ede0
 make clean # clean cruft
1265ca47
 
a7d1ede0
 svn update # get changes
1265ca47
 
a7d1ede0
 make -j3 # abuse the cores
5a7f21f1
 
c7862807
 # don't copy over stuff with permissions that make it useless
a7d1ede0
 #chmod a+r * -R
8fab2411
 chmod -R a+r *
a7d1ede0
 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"
a7d1ede0
 ssh vescum '/home/mirroradm/bin/trigger-mirrors'
 ssh vescum chmod g+w -R /srv/www-master.torproject.org/htdocs