mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
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)
This commit is contained in:
parent
8376693a3f
commit
15b7798e46
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue