Remove publish script
Sebastian Hahn

Sebastian Hahn commited on 2014-10-19 18:56:47
Zeige 1 geänderte Dateien mit 0 Einfügungen und 42 Löschungen.


people shouldn't run it now that we auto-build the website
... ...
@@ -1,42 +0,0 @@
1
-#!/bin/sh
2
-set -e # stop if we encounter an error
3
-
4
-# pull the latest changes
5
-if [ -e .svn ] ; then
6
-	svn update
7
-elif [ -e .git ] ; then
8
-	git svn rebase
9
-else
10
-	echo 2>&1 "Cannot figure out which version control thing you're using.  Skipping update"
11
-fi
12
-
13
-# clean up the working directory
14
-make clean
15
-
16
-# actually build the site
17
-make -j3
18
-
19
-# don't copy over stuff with permissions that make it useless
20
-chmod -R a+r *
21
-rsync \
22
-	--exclude .DS_Store \
23
-	--exclude .svn \
24
-	--exclude .git \
25
-	--exclude '.*.sw[po]' \
26
-	--exclude .deps \
27
-	--exclude svn \
28
-	--exclude README \
29
-	--exclude dist \
30
-	--exclude releases \
31
-	--exclude torbutton-current.xpi \
32
-	--exclude project \
33
-	-Prvz --delete . www-master.torproject.org:/srv/www-master.torproject.org/htdocs
34
-
35
-echo "Forcing mirror update"
36
-ssh www-master.torproject.org '
37
-	(
38
-	 find /srv/www-master.torproject.org/htdocs ! -perm -444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r ||
39
-	 ( echo >&2 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."; exit 1)
40
-	) &&
41
-	echo "Triggering mirror run" &&
42
-	/home/mirroradm/bin/trigger-mirrors'
43 0