Allow customizing TextElement default vertical alignment
[simantics/platform.git] / releng / doc / dump-wikis.sh
index ae2a64dc3ab1f755922c5a3aa624c3a1bee40386..de255c227a97844237ca283e32974686afcd026b 100755 (executable)
@@ -1,9 +1,13 @@
 #!/bin/bash
 
+if [ $# -lt 3 ]; then
+       echo "Usage: $0 <major> <minor> <service>"
+       exit -1
+fi
 
-major=1
-minor=25
-service=0
+major=$1
+minor=$2
+service=$3
 ver=${major}.${minor}.${service}
 
 mkdir ${ver}
@@ -19,3 +23,7 @@ IFS=$OLDIFS
 cd ..
 tar zcvf ${ver}.tar.gz ${ver}
 rm -rf ${ver}
+
+echo "Packing up mediawiki sites"
+tar zcvf ${ver}-dev-site.tar.gz /var/www/http-dev.simantics.org/
+tar zcvf ${ver}-enduser-site.tar.gz /var/www/https-www.simantics.org/end_user_wiki/