Explorar el Código

build: match emqx-pkg profile

Zaiming (Stone) Shi hace 3 años
padre
commit
59dfde04a9
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      rebar.config.erl

+ 4 - 0
rebar.config.erl

@@ -183,8 +183,12 @@ get_edition_from_profille_env() ->
     case os:getenv("PROFILE") of
         "emqx" ->
             ce;
+        "emqx-" ++ _ ->
+            ce;
         "emqx-enterprise" ->
             ee;
+        "emqx-enterprise-" ++ _ ->
+            ee;
         false ->
             ee;
         V ->