mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
nightly define fix
This commit is contained in:
@@ -68,7 +68,7 @@ set compiler_defines= -DODIN_VERSION_RAW=\"%odin_version_raw%\"
|
|||||||
rem fileversion is defined as {Major,Minor,Build,Private: u16} so a bit limited
|
rem fileversion is defined as {Major,Minor,Build,Private: u16} so a bit limited
|
||||||
set rc_flags=-nologo ^
|
set rc_flags=-nologo ^
|
||||||
-DV1=%V1% -DV2=%V2% -DV3=%V3% -DV4=%V4% ^
|
-DV1=%V1% -DV2=%V2% -DV3=%V3% -DV4=%V4% ^
|
||||||
-DVF=%odin_version_full% -Dnightly=%nightly%
|
-DVF=%odin_version_full% -DNIGHTLY=%nightly%
|
||||||
|
|
||||||
if not exist .git\ goto skip_git_hash
|
if not exist .git\ goto skip_git_hash
|
||||||
for /f "tokens=1,2" %%i IN ('git show "--pretty=%%cd %%h" "--date=format:%%Y-%%m" --no-patch --no-notes HEAD') do (
|
for /f "tokens=1,2" %%i IN ('git show "--pretty=%%cd %%h" "--date=format:%%Y-%%m" --no-patch --no-notes HEAD') do (
|
||||||
|
|||||||
Reference in New Issue
Block a user