Skip to content

Commit

Permalink
[Release/5.0] - Fix versions for Libs native artifacts (#53000)
Browse files Browse the repository at this point in the history
* [Release/5.0] - Fix versions for Libs native artifacts

Port of #52799 and #52917

During the repo consolidation, we missed passing OfficialBuildId
argument to common script from all subsets, which resulted in default
version emitted in the binaries produced by Libs subset in the official
builds.

* Fix empty build version case
  • Loading branch information
janvorli committed Jun 3, 2021
1 parent 444861c commit e917853
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libraries/Native/build-native.proj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<TargetFramework>$(BuildTargetFramework)</TargetFramework>
<TargetFramework Condition="'$(TargetFramework)' == ''">$(NetCoreAppCurrent)</TargetFramework>
<_BuildNativeArgs>$(TargetArchitecture) $(Configuration) outconfig $(TargetFramework)-$(TargetOS)-$(Configuration)-$(TargetArchitecture) -os $(TargetOS)</_BuildNativeArgs>
<_BuildNativeArgs Condition="'$(OfficialBuildId)' != ''">$(_BuildNativeArgs) /p:OfficialBuildId="$(OfficialBuildId)"</_BuildNativeArgs>

</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit e917853

Please sign in to comment.