diff options
Diffstat (limited to 'src/rlx_config.erl')
-rw-r--r-- | src/rlx_config.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rlx_config.erl b/src/rlx_config.erl index 33e8f27..1f441ed 100644 --- a/src/rlx_config.erl +++ b/src/rlx_config.erl @@ -295,7 +295,9 @@ merge_configs([{Key, Value} | CliTerms], ConfigTerms) -> end. parse_vsn(Vsn) when Vsn =:= semver ; Vsn =:= "semver" -> - {ok, V} = ec_git_vsn:vsn([]), + parse_vsn({semver, "v"}); +parse_vsn({semver, Prefix}) -> + {ok, V} = ec_git_vsn:vsn({Prefix}), V; parse_vsn(Vsn) -> Vsn. |