Skip to content

Commit

Permalink
[fix] Version info was duplicated and accumulated as each build on Wi…
Browse files Browse the repository at this point in the history
…ndows
  • Loading branch information
pajama-coder committed Sep 24, 2024
1 parent a7a614f commit 037876e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate_version_h.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ for /f %%i in ('git log -1 --format^=%%H') do set COMMIT=%%i

for /f "eol= tokens=* delims=" %%i in ('"git log -1 --format=%%cD"') do set COMMIT_DATE=%%i

echo. > %1

echo #ifndef __VERSION_H__ >> %1
echo #define __VERSION_H__ >> %1
echo. >> %1
Expand Down

0 comments on commit 037876e

Please sign in to comment.