summaryrefslogtreecommitdiff
path: root/publish
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-04 07:14:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-04 07:14:34 +0200
commitec050b2f1a1a1e51692251d3a7687e48c226fff5 (patch)
tree4601d8d4c8060486a5170a0b49c6762d69feb2c1 /publish
parent0d7d9b481d8dff60c96b20967bc6e30aa388b3c5 (diff)
Updates during the 0.2.0 release0.2.0
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 $*