From 52f2d9296c4a8e0fd4442bac939c58fe17af208d Mon Sep 17 00:00:00 2001 From: Athos Ribeiro Date: Fri, 9 Oct 2015 12:07:06 -0300 Subject: [PATCH] Do not upload the backups directory --- Rakefile | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/Rakefile b/Rakefile index eeb29d8..126dd06 100644 --- a/Rakefile +++ b/Rakefile @@ -17,6 +17,8 @@ ENV['CHAKE_TMPDIR'] = "tmp/chake.#{$SPB_ENV}" ENV['CHAKE_SSH_CONFIG'] = ssh_config_file +ENV['CHAKE_RSYNC_OPTIONS'] = '--exclude backups' + if $SPB_ENV == 'lxc' system("mkdir -p config/lxc; sudo lxc-ls -f -F name,ipv4 | sed -e '/^softwarepublico/ !d; s/softwarepublico_//; s/_[0-9_]*/:/ ' > #{ips_file}.new") begin -- libgit2 0.21.2