Selaa lähdekoodia

Add precise git versioning of multiple apps

Allows using tools like git-subtree and still maintaining proper
git-based vsns for those "imported" subtrees. Also helps understanding
what was the last change introduced to a specific application within a
multi-application repository (at this moment, all applications that
reside in the same repository, will share the same autogenerated git
vsn)
pull/3/head
Yurii Rashkovskii 13 vuotta sitten
committed by Tuncer Ayaz
vanhempi
commit
15b7798e46
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/rebar_app_utils.erl

+ 1
- 1
src/rebar_app_utils.erl Näytä tiedosto

@ -163,7 +163,7 @@ vcs_vsn(Vcs, Dir) ->
end
end.
vcs_vsn_cmd(git) -> "git describe --always --tags";
vcs_vsn_cmd(git) -> "git describe --always --tags `git log -n 1 --pretty=format:%h .`";
vcs_vsn_cmd(hg) -> "hg identify -i";
vcs_vsn_cmd(bzr) -> "bzr revno";
vcs_vsn_cmd(svn) -> "svnversion";

Ladataan…
Peruuta
Tallenna