Explorar el Código

fix(release): pass overlay vars with correct option

Even though relx 4.7.0 seems to support passing overlay vars through
`overlay_vars` option, it was designed to hold list of filenames where
vars are defined and works unreliable if used as a proplist.
Andrew Mayorov hace 3 años
padre
commit
51d849f267
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      rebar.config.erl

+ 1 - 1
rebar.config.erl

@@ -270,7 +270,7 @@ relx(Vsn, RelType, PkgType, Edition) ->
         {vm_args, false},
         {release, {emqx, Vsn}, relx_apps(RelType, Edition)},
         {overlay, relx_overlay(RelType, Edition)},
-        {overlay_vars,
+        {overlay_vars_values,
             build_info() ++
                 [
                     {emqx_description, emqx_description(RelType, Edition)}