diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-09-19 20:00:43 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-09-19 20:00:43 -0400 |
commit | fb63743bc6f8dbdf07efda65e78ff68567a8d5d5 (patch) | |
tree | affcc39ecee17c217cf335c92f1a8fcea08e4c9e /src/rebar_utils.erl | |
parent | 4ca8159be8107cdcc0bd4791cb022e16ded6bb5a (diff) | |
parent | 40d7350ee8820b518860549d645ec69c837a7fba (diff) |
Merge pull request #817 from tsloughter/update_erlware_commons
Update erlware commons and relx
Diffstat (limited to 'src/rebar_utils.erl')
-rw-r--r-- | src/rebar_utils.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index a90a18b..ccdf960 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -592,6 +592,8 @@ vcs_vsn(Vcs, Dir, Resources) -> end. %% Temp work around for repos like relx that use "semver" +vcs_vsn_cmd(Vsn, _, _) when is_binary(Vsn) -> + {plain, Vsn}; vcs_vsn_cmd(VCS, Dir, Resources) when VCS =:= semver ; VCS =:= "semver" -> vcs_vsn_cmd(git, Dir, Resources); vcs_vsn_cmd({cmd, _Cmd}=Custom, _, _) -> |