From 5e761f5bee6f0bec9b4554821509bfaa6381d1c8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 23 Feb 2016 10:00:56 +0200 Subject: Update test repository publish script to exclude unnecessary files --- tests/repository/publish | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/repository/publish b/tests/repository/publish index df3245b..5d3d0f1 100755 --- a/tests/repository/publish +++ b/tests/repository/publish @@ -6,5 +6,11 @@ # --dry-run # --progress # -rsync -v -rlpt --exclude '.*' --copy-unsafe-links --prune-empty-dirs \ ---delete-after $* 1/ build2.org:/var/bpkg/1/tests/ +rsync -v -rlpt --copy-unsafe-links \ +--prune-empty-dirs --delete-after --delete-excluded $* \ +--include '*/' \ +--include '*.tar.gz' \ +--include 'packages' \ +--include 'repositories' \ +--exclude '*' \ +1/ build2.org:/var/bpkg/1/tests/ -- cgit v1.1