emqx_release.hrl 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. %%--------------------------------------------------------------------
  2. %% Copyright (c) 2021 EMQ Technologies Co., Ltd. All Rights Reserved.
  3. %%
  4. %% Licensed under the Apache License, Version 2.0 (the "License");
  5. %% you may not use this file except in compliance with the License.
  6. %% You may obtain a copy of the License at
  7. %%
  8. %% http://www.apache.org/licenses/LICENSE-2.0
  9. %%
  10. %% Unless required by applicable law or agreed to in writing, software
  11. %% distributed under the License is distributed on an "AS IS" BASIS,
  12. %% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. %% See the License for the specific language governing permissions and
  14. %% limitations under the License.
  15. %%--------------------------------------------------------------------
  16. -ifndef(EMQX_RELEASE_HRL).
  17. -define(EMQX_RELEASE_HRL, true).
  18. %% NOTE: this is the release version which is not always the same
  19. %% as the emqx app version defined in emqx.app.src
  20. %% App (plugin) versions are bumped independently.
  21. %% e.g. EMQX_RELEASE being 4.3.1 does no always imply emqx app
  22. %% should be 4.3.1, as it might be the case that only one of the
  23. %% plugins had a bug to fix. So for a hot beam upgrade, only the app
  24. %% with beam files changed needs an upgrade.
  25. %% NOTE: This version number should be manually bumped for each release
  26. -ifndef(EMQX_ENTERPRISE).
  27. -define(EMQX_RELEASE, {opensource, "4.3.12-with-kafka"}).
  28. -else.
  29. -endif.
  30. -endif.