Handle rebar3 version strings such as "3.14.1+build.4750.refd11ceb4f"
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
IsRebar3 = case application:get_key(rebar, vsn) of
|
||||
{ok, VSN} ->
|
||||
[VSN1 | _] = string:tokens(VSN, "-"),
|
||||
[VSN1 | _] = string:tokens(VSN, "-+"),
|
||||
[Maj, Min, Patch] = string:tokens(VSN1, "."),
|
||||
(list_to_integer(Maj) >= 3);
|
||||
undefined ->
|
||||
|
||||
Reference in New Issue
Block a user