summaryrefslogtreecommitdiffstats
path: root/doc/publish.sh.in
diff options
context:
space:
mode:
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}