aboutsummaryrefslogtreecommitdiffstats
path: root/website
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-05-27 09:57:24 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-05-27 09:57:24 +0200
commit107b6cd9074838c4c82ad0f92349c667b7c41fa8 (patch)
treef0df7a985fcc1b764fa45fef0071f6c36557cc8c /website
parentef52da8277d8c3cff8a49999675b8c5f06d3d0c1 (diff)
downloadfetchmail-107b6cd9074838c4c82ad0f92349c667b7c41fa8.tar.gz
fetchmail-107b6cd9074838c4c82ad0f92349c667b7c41fa8.tar.bz2
fetchmail-107b6cd9074838c4c82ad0f92349c667b7c41fa8.zip
Also upload to SourceForge.
Diffstat (limited to 'website')
-rwxr-xr-xwebsite/host-scripts/upload-website.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/website/host-scripts/upload-website.sh b/website/host-scripts/upload-website.sh
index 35613402..a193c3b3 100755
--- a/website/host-scripts/upload-website.sh
+++ b/website/host-scripts/upload-website.sh
@@ -4,6 +4,7 @@
# (C) 2008 - 2010 by Matthias Andree. GNU GPL v3.
: ${BERLIOS_LOGIN=m-a}
+: ${SOURCEFORGE_LOGIN=m-a}
# abort on error
set -eu
@@ -32,6 +33,17 @@ rsync \
"$BERLIOS_LOGIN@shell.berlios.de:/home/groups/fetchmail/htdocs/" &
pids="$pids $!"
+echo "==> Uploading website (rsync) to SourceForge"
+# upload
+rsync \
+ --chmod=ug=rwX,o=rX,Dg=s --perms \
+ --copy-links --times --checksum --verbose \
+ --exclude host-scripts \
+ --exclude .git --exclude '*~' --exclude '#*#' \
+ * \
+ "${SOURCEFORGE_LOGIN},fetchmail@web.sourceforge.net:htdocs/" &
+pids="$pids $!"
+
echo "==> Uploading website (rsync) to local"
rsync \
--chmod=ug=rwX,o=rX,Dg=s --perms \