From c1f2c9c8d48cfcc7020a98d9ae0932e40108c0e6 Mon Sep 17 00:00:00 2001 From: Nick Pezza Date: Thu, 14 Sep 2023 12:57:43 -0400 Subject: [PATCH] Include hidden files when copying assets --- lib/kamal/commands/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kamal/commands/app.rb b/lib/kamal/commands/app.rb index e25efd201..3983770b4 100644 --- a/lib/kamal/commands/app.rb +++ b/lib/kamal/commands/app.rb @@ -234,6 +234,6 @@ def find_and_remove_older_siblings(path) end def copy_contents(source, destination, continue_on_error: false) - [ :cp, "-rn", "#{source}/*", destination, *("|| true" if continue_on_error)] + [ :cp, "-rn", "#{source}/{*,.*}", destination, *("|| true" if continue_on_error)] end end