From 18b9a2dbffe096b379dc0a67c05bd42fe3c77900 Mon Sep 17 00:00:00 2001 From: watcher Date: Tue, 11 Oct 2016 18:37:28 +0300 Subject: add revision for GIT --- build/make_ver.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/build/make_ver.bat b/build/make_ver.bat index 8f72cf52ee..6c3aa09b41 100644 --- a/build/make_ver.bat +++ b/build/make_ver.bat @@ -2,6 +2,7 @@ cd /d %~dp0 for /F "tokens=2,3" %%i in (..\include\m_version.h) do if "%%i"=="MIRANDA_VERSION_FILEVERSION" (set OldVer=%%j) +for /F %%i in ('git rev-list --count HEAD') do set Revision=%%i for /F %%i in ('svnversion build.no') do set Revision=%%i REM Fix building not-svn repository (e.g., Git mirror) -- cgit v1.2.3