Skip to content

Commit

Permalink
Fix genversion script on release builds (ie. commit 0)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevcairiel committed Feb 13, 2015
1 parent 3ea7068 commit 7cfabbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/genversion.bat
Expand Up @@ -37,7 +37,8 @@ IF EXIST includes\version_rev.h (
)
SET NEWVER=#define LAV_VERSION_BUILD %nbCOMMIT_PART%
IF NOT "%NEWVER%" == "%OLDVER%" (
ECHO %NEWVER%> includes\version_rev.h
:: swapped order to avoid trailing newlines
> includes\version_rev.h ECHO %NEWVER%
)
GOTO :END

Expand Down

0 comments on commit 7cfabbc

Please sign in to comment.