aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_config.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlx_config.erl')
-rw-r--r--src/rlx_config.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rlx_config.erl b/src/rlx_config.erl
index 07ac2c5..c838c18 100644
--- a/src/rlx_config.erl
+++ b/src/rlx_config.erl
@@ -285,6 +285,7 @@ merge_configs([{Key, Value} | CliTerms], ConfigTerms) ->
end.
parse_vsn(Vsn) when Vsn =:= semver ; Vsn =:= "semver" ->
- binary_to_list(ec_git_vsn:vsn([]));
+ {ok, V} = ec_git_vsn:vsn([]),
+ V;
parse_vsn(Vsn) ->
Vsn.