mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Print full git revision in version string
This commit is contained in:
parent
8a2274b8b4
commit
7e812e6a75
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ main(Args) ->
|
||||||
|
|
||||||
%% Get a string repr of first matching VCS changeset
|
%% Get a string repr of first matching VCS changeset
|
||||||
VcsInfo = vcs_info([{hg, ".hg", "hg identify -i"},
|
VcsInfo = vcs_info([{hg, ".hg", "hg identify -i"},
|
||||||
{git, ".git", "git describe --always"}]),
|
{git, ".git", "git describe --always --tags"}]),
|
||||||
|
|
||||||
%% Check for force=1 flag to force a rebuild
|
%% Check for force=1 flag to force a rebuild
|
||||||
case lists:member("force=1", Args) of
|
case lists:member("force=1", Args) of
|
||||||
|
|
Loading…
Reference in a new issue