File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,11 +12,7 @@ for /f %%i in ('git rev-list --count HEAD') do set GIT_BUILD_VERSION=%%i > nul
1212for /F " tokens=1,2,3" %%i in (%base_dir% \src\nxemu-core\version.h.in) do call :process_version %%i %%j %%k
1313set GIT_REVISION_SHORT = %GIT_REVISION_SHORT: =%
1414set GIT_BUILD_VERSION = %GIT_BUILD_VERSION: =%
15- if " %VERSION_PREFIX% " == " " (
16- set VERSION = %VERSION_MAJOR% .%VERSION_MINOR% .%VERSION_REVISION% -%GIT_BUILD_VERSION% -%GIT_REVISION_SHORT%
17- ) else (
18- set VERSION = %VERSION_PREFIX% -%VERSION_MAJOR% .%VERSION_MINOR% .%VERSION_REVISION% -%GIT_BUILD_VERSION% -%GIT_REVISION_SHORT%
19- )
15+ set VERSION = %VERSION_PREFIX%%VERSION_MAJOR% .%VERSION_MINOR% .%VERSION_REVISION% -%GIT_BUILD_VERSION% -%GIT_REVISION_SHORT%
2016
2117echo %VERSION%
2218echo GIT_DESCRIBE=%VERSION% > " %base_dir% \git.properties"
You can’t perform that action at this time.
0 commit comments