diff options
author | Jan Kotas <jkotas@microsoft.com> | 2020-04-25 15:32:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 15:32:49 +0300 |
commit | ab7ef9b2924e4056680c1fd9372923a00bb91199 (patch) | |
tree | 14f44424ae7abae82a708fe3aecfd82e86479be8 /src/coreclr/build-runtime.cmd | |
parent | 890fab0a640503201eed977f8710f23ce78987b6 (diff) |
CoreCLR versions cleanup (#35327)
- Use current version numbers everywhere
- Use product version (e.g. 5.0.0) for all user facing versions
- Use file version (e.g. 5.0.20.21010) only when the exact version information is required
- Reduce number of layers of version macro definitions
Diffstat (limited to 'src/coreclr/build-runtime.cmd')
-rw-r--r-- | src/coreclr/build-runtime.cmd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/coreclr/build-runtime.cmd b/src/coreclr/build-runtime.cmd index 54266af246b..2c1d7db98ee 100644 --- a/src/coreclr/build-runtime.cmd +++ b/src/coreclr/build-runtime.cmd @@ -324,8 +324,9 @@ if %__SkipGenerateVersion% EQU 0 ( echo %__MsgPrefix%Generating native version headers set "__BinLog=%__LogsDir%\GenerateVersionHeaders_%__TargetOS%__%__BuildArch%__%__BuildType%.binlog" powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%__RepoRootDir%\eng\common\msbuild.ps1" /clp:nosummary %__ArcadeScriptArgs%^ - %__RepoRootDir%\eng\empty.csproj /p:NativeVersionFile="%__RootBinDir%\obj\coreclr\_version.h"^ - /t:GenerateNativeVersionFile /restore^ + %__RepoRootDir%\eng\empty.csproj /t:GenerateRuntimeVersionFile /restore^ + /p:NativeVersionFile="%__RootBinDir%\obj\coreclr\_version.h"^ + /p:RuntimeVersionFile="%__RootBinDir%\obj\coreclr\runtime_version.h"^ %__CommonMSBuildArgs% %__UnprocessedBuildArgs% /bl:!__BinLog! if not !errorlevel! == 0 ( set __exitCode=!errorlevel! |