Procházet zdrojové kódy

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 před 13 roky
odevzdal Tuncer Ayaz
rodič
revize
15b7798e46
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/rebar_app_utils.erl

+ 1
- 1
src/rebar_app_utils.erl Zobrazit soubor

@ -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";

Načítá se…
Zrušit
Uložit