diff options
author | watcher <watcherhd@gmail.com> | 2016-10-11 18:37:28 +0300 |
---|---|---|
committer | watcher <watcherhd@gmail.com> | 2016-10-11 18:37:28 +0300 |
commit | 02b68f9fb8d095811ec26451665a82a9b3d4f4b0 (patch) | |
tree | 6c5e58309f35a7164ab1e19601ecfcda0260e11b /build | |
parent | f07689fbf39405ef5a3e3dafb340c9c8f74897f6 (diff) |
add revision for GIT
Diffstat (limited to 'build')
-rw-r--r-- | build/make_ver.bat | 1 |
1 files changed, 1 insertions, 0 deletions
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)
|