Commit 374a63d18db7b46a0e1af12cb390d23b3f9b4368

Thomas de Grivel 2023-08-24T13:40:24

do not sync build

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index d12258d..6892450 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -206,7 +206,7 @@ EOF
     sh_host = sh_quote(host)
     cmd "ssh #{sh_host} rbpkg/bin/rbpkg_ci #{sh_quote(repo)} #{sh_quote(branch)} #{sh_quote(commit)}"
     sh_ci_dir = sh_quote(ci_dir)
-    cmd! "rsync -a #{sh_host}:#{sh_ci_dir}/. #{sh_ci_dir}"
+    cmd! "rsync -a --exclude build #{sh_host}:#{sh_ci_dir}/. #{sh_ci_dir}"
   end
 
   def self.ci_status_dir