aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rlx_config.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_config.erl b/src/rlx_config.erl
index b5ef51b..57aac71 100644
--- a/src/rlx_config.erl
+++ b/src/rlx_config.erl
@@ -340,8 +340,8 @@ merge_configs([{Key, Value} | CliTerms], ConfigTerms) ->
parse_vsn(Vsn) when Vsn =:= semver ; Vsn =:= "semver" ->
{ok, V} = ec_git_vsn:vsn(ec_git_vsn:new()),
V;
-parse_vsn({semver, _}) ->
- {ok, V} = ec_git_vsn:vsn(ec_git_vsn:new()),
+parse_vsn({semver, Data}) ->
+ {ok, V} = ec_git_vsn:vsn(Data),
V;
parse_vsn({cmd, Command}) ->
V = os:cmd(Command),