From 58a08c038134ee84535d801dbd8c10f34006b838 Mon Sep 17 00:00:00 2001 From: Adam Lindberg Date: Thu, 8 Jul 2021 10:40:01 +0200 Subject: [PATCH] Copy files on top of release This way, you can override any file in the release with a static file or template from your project. --- src/grisp_tools_deploy.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grisp_tools_deploy.erl b/src/grisp_tools_deploy.erl index b633144..83abbed 100644 --- a/src/grisp_tools_deploy.erl +++ b/src/grisp_tools_deploy.erl @@ -46,8 +46,8 @@ release(#{paths := #{install := InstallPath}} = State0) -> copy(State0) -> grisp_tools_util:pipe(State0, [ fun(S) -> run_script(pre_script, S) end, - fun copy_files/1, fun copy_release/1, + fun copy_files/1, fun(S) -> run_script(post_script, S) end ]).