ソースを参照

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年前
committed by Tuncer Ayaz
コミット
15b7798e46
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/rebar_app_utils.erl

+ 1
- 1
src/rebar_app_utils.erl ファイルの表示

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

読み込み中…
キャンセル
保存