Skip to content

Commit

Permalink
Update incremental servicing condition for pkgs (dotnet#48330)
Browse files Browse the repository at this point in the history
* Update incremental servicing condition for pkgs
  • Loading branch information
ViktorHofer authored Feb 17, 2021
1 parent dacacd0 commit b390a22
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,12 @@
<IsShippingAssembly Condition="$(IsExperimentalAssembly)">false</IsShippingAssembly>
<!-- We don't want Private packages to be shipped to NuGet.org -->
<IsShippingPackage Condition="($(MSBuildProjectName.Contains('Private')) or $(IsExperimentalAssembly)) and '$(MSBuildProjectExtension)' == '.pkgproj'">false</IsShippingPackage>
<!-- A package isn't generated (in traversal builds) if in servicing or in runtimelab. Intended to be overridden at project level. -->
<!-- A package isn't generated if in servicing or in runtimelab. Intended to be overridden at project level.
Excluding .sfxprojs as they have their own incremental servicing infra. -->
<GeneratePackage Condition="'$(GeneratePackage)' == ''">true</GeneratePackage>
<GeneratePackage Condition="(('$(PreReleaseVersionLabel)' == 'servicing' or
'$(RepositoryName)' == 'runtimelab') and
'$(BuildAllProjects)' == 'true')">false</GeneratePackage>
'$(GitHubRepositoryName)' == 'runtimelab') and
'$(MSBuildProjectExtension)' != '.sfxproj')">false</GeneratePackage>
</PropertyGroup>


Expand Down

0 comments on commit b390a22

Please sign in to comment.