build: match emqx-pkg profile

This commit is contained in:
Zaiming (Stone) Shi 2022-08-13 21:07:13 +02:00
parent d63d6b5f27
commit 59dfde04a9
1 changed files with 4 additions and 0 deletions

View File

@ -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 ->