diff options
Diffstat (limited to 'src')
-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, _, _) -> |