summaryrefslogtreecommitdiff
path: root/publish
diff options
context:
space:
mode:
Diffstat (limited to 'publish')
-rwxr-xr-xpublish9
1 files changed, 7 insertions, 2 deletions
diff --git a/publish b/publish
index 948e0b6..8d29214 100755
--- a/publish
+++ b/publish
@@ -1,6 +1,6 @@
#! /usr/bin/env bash
-# Publish build2 to build2.org/cppget.org.
+# Publish build2 to build2.org/cppget.org (and brep.cppget.org).
#
# Usage: publish [<rsync-options>]
#
@@ -27,10 +27,15 @@ fi
function sync ()
{
- rsync -v -rlpt --copy-unsafe-links --prune-empty-dirs --delete-after $* \
+ info "build2.org:"
+ rsync -v -rlpt -c --copy-unsafe-links --prune-empty-dirs --delete-after $* \
$d/ build2.org:/var/www/download.build2.org/public/$v/
+ info "cppget.org:"
cppget.org/publish cppget.org/repository/1/ cppget.org:/var/bpkg/1/ $*
+
+ info "brep.cppget.org:"
+ cppget.org/publish cppget.org/repository/1/ brep.cppget.org:/var/bpkg/1/ $*
}
sync --dry-run $*