Update rsversion.in

This commit is contained in:
thunder2 2016-02-06 19:18:22 +01:00
parent 4a8edee615
commit 7ded128b3a
2 changed files with 2 additions and 9 deletions

View File

@ -33,14 +33,7 @@ if errorlevel 1 goto exit
if "%Revision%"=="" (
echo.
echo Version not found in
echo %VersionFile%
goto exit
)
if "%BuildAdd%"=="" (
echo.
echo Version not found in
echo %VersionFile%
echo Version not found
goto exit
)

View File

@ -1,7 +1,7 @@
#define RS_MAJOR_VERSION 0
#define RS_MINOR_VERSION 6
#define RS_BUILD_NUMBER 0
#define RS_BUILD_NUMBER_ADD "x" // <-- do we need this?
#define RS_BUILD_NUMBER_ADD ""
// The revision number should be the 4 first bytes of the git revision hash, which is obtained using:
// git log --pretty="%H" | head -1 | cut -c1-8