Print full git revision in version string

This commit is contained in:
Tuncer Ayaz 2012-06-11 20:01:07 +02:00
parent 8a2274b8b4
commit 7e812e6a75

View file

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