diff --git a/apps/emqx/include/emqx_release.hrl b/apps/emqx/include/emqx_release.hrl index f77336e13..2d4e5476c 100644 --- a/apps/emqx/include/emqx_release.hrl +++ b/apps/emqx/include/emqx_release.hrl @@ -35,7 +35,7 @@ -define(EMQX_RELEASE_CE, "5.1.0-rc.1"). %% Enterprise edition --define(EMQX_RELEASE_EE, "5.1.0-rc.2"). +-define(EMQX_RELEASE_EE, "5.1.0"). %% The HTTP API version -define(EMQX_API_VERSION, "5.0"). diff --git a/rebar.config.erl b/rebar.config.erl index fc91878d9..8d8e7c437 100644 --- a/rebar.config.erl +++ b/rebar.config.erl @@ -652,16 +652,3 @@ list_dir(Dir) -> false -> [] end. - -profile() -> - case os:getenv("PROFILE") of - Profile = "emqx-enterprise" ++ _ -> - Profile; - Profile = "emqx" ++ _ -> - Profile; - false -> - "emqx-enterprise"; - Profile -> - io:format(standard_error, "ERROR: bad_PROFILE ~p~n", [Profile]), - exit(bad_PROFILE) - end.