diff options
Diffstat (limited to 'publish')
-rwxr-xr-x | publish | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 $* |