fix(relup): fix check relup fail

This commit is contained in:
Turtle 2021-08-03 19:46:12 +08:00 committed by turtleDeng
parent 8fb9170df8
commit ff4229bb93
2 changed files with 13 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{application, emqx_web_hook,
[{description, "EMQ X WebHook Plugin"},
{vsn, "4.3.3"}, % strict semver, bump manually!
{vsn, "4.3.4"}, % strict semver, bump manually!
{modules, []},
{registered, [emqx_web_hook_sup]},
{applications, [kernel,stdlib,ehttpc]},

View File

@ -3,16 +3,24 @@
{VSN,
[
{<<"4.3.[0-2]">>, [
{restart_application, emqx_web_hook},
{apply,{emqx_rule_engine,refresh_resource,[web_hook]}}
{apply, {application, stop,[emqx_web_hook]}},
{load_module, emqx_web_hook_app, brutal_purge, soft_purge, []},
{load_module, emqx_web_hook, brutal_purge, soft_purge, []},
{load_module, emqx_web_hook_actions, brutal_purge, soft_purge, []},
{apply,{emqx_rule_engine, refresh_resource, [web_hook]}}
]},
{<<"4.3.3">>, []},
{<<".*">>, []}
],
[
{<<"4.3.[0-2]">>, [
{restart_application, emqx_web_hook},
{apply,{emqx_rule_engine,refresh_resource,[web_hook]}}
{apply, {application, stop, [emqx_web_hook]}},
{load_module, emqx_web_hook_app, brutal_purge, soft_purge, []},
{load_module, emqx_web_hook, brutal_purge, soft_purge, []},
{load_module, emqx_web_hook_actions, brutal_purge, soft_purge, []},
{apply, {emqx_rule_engine, refresh_resource, [web_hook]}}
]},
{<<"4.3.3">>, []},
{<<".*">>, []}
]
}.