-
Notifications
You must be signed in to change notification settings - Fork 696
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
Pack NuGet.Localization in RTM builds #4320
Conversation
@@ -32,7 +32,7 @@ | |||
============================================================ | |||
--> | |||
|
|||
<Target Name="MoveLocalizedFilesToLocalizedArtifacts" Condition="'$(BuildRTM)' == 'false' AND Exists($(LocalizationRootDirectory)) " BeforeTargets="GenerateNuspec"> | |||
<Target Name="MoveLocalizedFilesToLocalizedArtifacts" Condition="Exists($(LocalizationRootDirectory)) " BeforeTargets="GenerateNuspec"> |
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.
Did you check we actually localize for RTM?
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, the build pipeline doesn't condition the localize task on anything, so it will localize on both RTM and NonRTM builds:
NuGet.Client/eng/pipelines/templates/Build_and_UnitTest.yml
Lines 101 to 107 in d822a6f
- task: MSBuild@1 | |
displayName: "Localize Assemblies" | |
inputs: | |
solution: "build\\loc.proj" | |
configuration: "$(BuildConfiguration)" | |
msbuildArguments: "/t:AfterBuild" | |
I also checked the build artifacts to make sure that NuGet.Localization.{version}.nupkg is generated, and contains what appears to be the correct files.
Bug
Fixes: NuGet/Home#11328
Regression? LNo
Description
Pack NuGet.Localization in RTM builds
PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation