-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix duplicated assets in official build #89188
Conversation
The additional osx-x64 and osx-arm64 legs added for NativeAOT in dotnet#89018 caused the `runtime.osx-*.Microsoft.DotNet.ILCompiler` and runtime.osx-*.runtime.native.System.IO.Ports` packages to be duplicated. This change makes sure we only publish them from one leg (the CoreCLR one).
/backport to release/8.0-preview7 |
Started backporting to release/8.0-preview7: https://github.com/dotnet/runtime/actions/runs/5601208211 |
@@ -1,9 +1,9 @@ | |||
<Project> | |||
<Import Sdk="Microsoft.Build.Traversal" Project="Sdk.props" /> | |||
|
|||
<ItemGroup> | |||
<ItemGroup Condition="'$(BuildNativeAOTRuntimePack)' != 'true'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not exactly sure what the intention of that property was initially. Suppress both the meta package and the RID specific package? If yes, then the change looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we don't need these packages when building the runtime packs.
The additional osx-x64 and osx-arm64 legs added for NativeAOT in #89018 caused the
runtime.osx-*.Microsoft.DotNet.ILCompiler
and runtime.osx-*.runtime.native.System.IO.Ports` packages to be duplicated.This change makes sure we only publish them from one leg (the CoreCLR one).