fix(elixir): put Patch in version and add missing deps

Elixir requires that we use version of the form `Major.Minor.Patch`.
Also, Mix requires dependecies to be declared in `rebar.config` so it
can include the header files correctly.
This commit is contained in:
Thales Macedo Garitezi 2022-01-06 10:03:07 -03:00
parent e9fb999236
commit 9059f2005a
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
6 changed files with 15 additions and 4 deletions

View File

@ -7,6 +7,7 @@ concurrency:
on:
pull_request:
workflow_dispatch:
jobs:
build:

View File

@ -24,4 +24,8 @@
%% NOTE: This version number should be manually bumped for each release
-define(EMQX_RELEASE, "5.0-beta.3").
%% NOTE: This version number should have 3 numeric parts
%% (Major.Minor.Patch), and extra info can be added after a final
%% hyphen.
-define(EMQX_RELEASE, "5.0.0-beta.3").

View File

@ -1,4 +1,5 @@
{deps, [ {emqx, {path, "../emqx"}}
, {emqx_connector, {path, "../emqx_connector"}}
]}.
{edoc_opts, [{preprocess, true}]}.

View File

@ -1,5 +1,7 @@
{erl_opts, [debug_info, nowarn_unused_import]}.
{deps, [{emqx, {path, "../emqx"}}]}.
{deps, [ {emqx, {path, "../emqx"}}
, {emqx_connector, {path, "../emqx_connector"}}
]}.
{shell, [
% {config, "config/sys.config"},

View File

@ -1,5 +1,6 @@
{deps,
[ %% FIXME: tag this as v3.1.3
[ {emqx, {path, "../emqx"}},
%% FIXME: tag this as v3.1.3
{prometheus, {git, "https://github.com/emqx/prometheus.erl", {ref, "9994c76adca40d91a2545102230ccce2423fd8a7"}}},
{hocon, {git, "https://github.com/emqx/hocon.git", {tag, "0.22.2"}}},
{minirest, {git, "https://github.com/emqx/minirest", {tag, "1.2.9"}}}

View File

@ -1,5 +1,7 @@
{erl_opts, [debug_info]}.
{deps, [{estatsd, {git, "https://github.com/emqx/estatsd", {tag, "0.1.0"}}}]}.
{deps, [ {emqx, {path, "../emqx"}}
, {estatsd, {git, "https://github.com/emqx/estatsd", {tag, "0.1.0"}}}
]}.
{shell, [
% {config, "config/sys.config"},