diff options
author | Luis Rascão <[email protected]> | 2017-10-19 12:26:09 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-10-19 12:26:09 +0100 |
commit | b02e2a90fa89df222472cefcab070bdefa0c2a55 (patch) | |
tree | bdea8d315daa3ea1fb6be2c1a79cf4f541f30849 /src | |
parent | 3d26d9fb154b14fe7a910849cc7f7bafe4d7889d (diff) | |
parent | 9727316ae651d88e49ada1d5142d16700ae837b1 (diff) | |
download | relx-b02e2a90fa89df222472cefcab070bdefa0c2a55.tar.gz relx-b02e2a90fa89df222472cefcab070bdefa0c2a55.tar.bz2 relx-b02e2a90fa89df222472cefcab070bdefa0c2a55.zip |
Merge pull request #465 from filmor/semver-prefix
Pass prefix through
Diffstat (limited to 'src')
-rw-r--r-- | src/rlx_config.erl | 4 |
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), |