Skip to content

Commit

Permalink
Pack NuGet.Localization in RTM builds (#4320)
Browse files Browse the repository at this point in the history
  • Loading branch information
zivkan committed Oct 22, 2021
1 parent 9de96e9 commit 078701b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/utils/EnsureAllPackagesExist.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Param (
"NuGet.DependencyResolver.Core",
"NuGet.Frameworks",
"NuGet.LibraryModel",
"NuGet.Localization",
"NuGet.PackageManagement",
"NuGet.Packaging.Core",
"NuGet.Packaging.Extraction",
Expand Down
4 changes: 2 additions & 2 deletions src/NuGet.Core/NuGet.Localization/NuGet.Localization.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<TargetFramework>$(NetStandardVersion)</TargetFramework>
<Shipping>true</Shipping>
<PackProject>true</PackProject>
<PackProject Condition="!Exists('$(LocalizationRootDirectory)') OR '$(BuildRTM)' == 'true'">false</PackProject>
<PackProject Condition="!Exists('$(LocalizationRootDirectory)')">false</PackProject>
<Description>NuGet localization package for dotnet CLI.</Description>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<UsePublicApiAnalyzer>false</UsePublicApiAnalyzer>
Expand All @@ -32,7 +32,7 @@
============================================================
-->

<Target Name="MoveLocalizedFilesToLocalizedArtifacts" Condition="'$(BuildRTM)' == 'false' AND Exists($(LocalizationRootDirectory)) " BeforeTargets="GenerateNuspec">
<Target Name="MoveLocalizedFilesToLocalizedArtifacts" Condition="Exists($(LocalizationRootDirectory)) " BeforeTargets="GenerateNuspec">
<MakeDir
Directories="$(LocalizationOutputDirectory)"/>
<ItemGroup>
Expand Down

0 comments on commit 078701b

Please sign in to comment.