Create appup.src file (#12)

This commit is contained in:
Maciej Szlosarczyk 2019-07-17 16:20:07 +03:00 committed by GitHub
parent 9473ed382d
commit 6845d82762
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,10 @@
AppInfo = rebar3_appup_utils:find_app_info(<<"epp_proxy">>, STATE),
"{{vsn}}" = rebar_app_info:original_vsn(AppInfo),
{"{{vsn}}",
[
{<<".*">>, [{restart_application, epp_proxy}]}
],
[
{<<".*">>, [{restart_application, epp_proxy}]}
]
}.

View file

@ -26,6 +26,7 @@
{overlay, [{copy, "scripts/extensions/reload", "bin/extensions/reload"}]}
]
}.
{provider_hooks, [
{pre, [{tar, {appup, tar}}]},
{post, [{compile, {appup, compile}},