Skip to content

Commit

Permalink
feat: template emqx vsn
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesmg committed Aug 1, 2023
1 parent abea891 commit 5ff8f75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions emqx-plugin.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{description, "Another amazing EMQX plugin."},
{version, "1.0.0", "The release version of this plugin."},
{app_vsn, "0.1.0", "The erlang application vsn value."},
{emqx_vsn, "v5.1.4", "EMQX version to use as a dependency."},
{license, "Apache-2.0", "Short identifier for license you want to distribute this plugin under."},
{author_website, "http://example.com", "A website with details about the author."},
{repo, "https://github.com/emqx/emqx-plugin-template", "Where to find the source code for this plugin."}
Expand Down
8 changes: 4 additions & 4 deletions rebar_template.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
{deps,
[ %% not all plugins have to depend on emqx
%% but if they do, use git_subdir in the default profile
{emqx, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "v5.1.3"}, "apps/emqx"}}
, {emqx_ctl, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "v5.1.3"}, "apps/emqx_ctl"}}
, {emqx_utils, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "v5.1.3"}, "apps/emqx_utils"}}
, {emqx_durable_storage, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "v5.1.3"}, "apps/emqx_durable_storage"}}
{emqx, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "@@emqx_vsn@@"}, "apps/emqx"}}
, {emqx_ctl, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "@@emqx_vsn@@"}, "apps/emqx_ctl"}}
, {emqx_utils, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "@@emqx_vsn@@"}, "apps/emqx_utils"}}
, {emqx_durable_storage, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "@@emqx_vsn@@"}, "apps/emqx_durable_storage"}}
%% this is my plugin's dependency
, {map_sets, "1.1.0"}
]}.
Expand Down

0 comments on commit 5ff8f75

Please sign in to comment.