From 107b6cd9074838c4c82ad0f92349c667b7c41fa8 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 27 May 2010 09:57:24 +0200 Subject: Also upload to SourceForge. --- website/host-scripts/upload-website.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 \ -- cgit v1.2.3