diff options
author | George Hazan <ghazan@miranda.im> | 2016-10-11 21:06:38 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-10-11 21:06:38 +0300 |
commit | 0c4d40fc300b909f6b5bd000b35cd9738e8b4abf (patch) | |
tree | 031902c1d402d908fe615e7b2a93a38460d5e124 /build/make_ver.bat | |
parent | b0f3e30460fc26ef4fe59bc161b0fddd8eeb9a08 (diff) | |
parent | 84a43ec0ea79f4dcf23ccf47e74f451b738cf9e6 (diff) |
Merge branch 'master' of https://github.com/miranda-ng/miranda-ng
Diffstat (limited to 'build/make_ver.bat')
-rw-r--r-- | build/make_ver.bat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/make_ver.bat b/build/make_ver.bat index 8f72cf52ee..40a391351e 100644 --- a/build/make_ver.bat +++ b/build/make_ver.bat @@ -2,7 +2,8 @@ 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 ('svnversion build.no') do set Revision=%%i
+for /F %%i in ('git rev-list --count HEAD') do set Revision=%%i
+rem for /F %%i in ('svnversion build.no') do set Revision=%%i
REM Fix building not-svn repository (e.g., Git mirror)
if "%Revision:~0,11%" == "Unversioned" (set Revision=0)
|