summaryrefslogtreecommitdiffstats
path: root/doc/publish.sh.in
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-16 14:02:43 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-16 14:02:43 +0100
commit31b20f08150907fadc05e5054f4ffd04f68d2144 (patch)
tree8f4aaf79177341bcdc709830608529d58eb204c8 /doc/publish.sh.in
parent426687c80bbc52474a53939d7034d45180adc1f5 (diff)
downloadlibuca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.gz
libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.bz2
libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.xz
libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.zip
Add publishing script and propagate version from top directory
Diffstat (limited to 'doc/publish.sh.in')
-rw-r--r--doc/publish.sh.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/publish.sh.in b/doc/publish.sh.in
new file mode 100644
index 0000000..6ae3733
--- /dev/null
+++ b/doc/publish.sh.in
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo -n "user: "
+read -e USER
+echo -n "host (:~/public_html is appended): "
+read -e HOST
+
+scp -r html/ $USER@$HOST:~/public_html/libuca-${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}