From 79ddde3040555b7fa656e38d221fdee11b90df54 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 4 Jan 2022 21:46:40 +0100 Subject: [PATCH] Workaround to support rebar2 git tag "1.0" and rebar3 hex version "1.0.0" --- rebar.config | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rebar.config b/rebar.config index e1b1b6903..0c18d9e7d 100644 --- a/rebar.config +++ b/rebar.config @@ -41,7 +41,13 @@ {jose, ".*", {git, "https://github.com/potatosalad/erlang-jose", {tag, "1.11.1"}}}, {lager, ".*", {git, "https://github.com/erlang-lager/lager", {tag, "3.9.1"}}}, {if_var_true, lua, - {luerl, ".*", {git, "https://github.com/rvirding/luerl", {tag, "1.0.0"}}}}, + {if_not_rebar3, + {luerl, ".*", {git, "https://github.com/rvirding/luerl", {tag, "1.0"}}} + }}, + {if_var_true, lua, + {if_rebar3, + {luerl, ".*", {git, "https://github.com/rvirding/luerl", {tag, "1.0.0"}}} + }}, {mqtree, ".*", {git, "https://github.com/processone/mqtree", {tag, "1.0.14"}}}, {p1_acme, ".*", {git, "https://github.com/processone/p1_acme", {tag, "1.0.16"}}}, {if_var_true, mysql,