Skip to content

Commit 6ba1417

Browse files
Copilotbartelink
andauthored
Scope integrated package validation to CI packs
Agent-Logs-Url: https://github.com/jet/equinox/sessions/0a892208-922b-4edd-a554-f08276d4decb Co-authored-by: bartelink <206668+bartelink@users.noreply.github.com>
1 parent 4e4a556 commit 6ba1417

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
<!-- We want to opt in to publishing nugets per library, but only when CI=true -->
1818
<IsPackable>false</IsPackable>
19+
<EnablePackageValidation Condition=" '$(CI)' == 'true' and '$(IsPackable)' == 'true' ">true</EnablePackageValidation>
1920
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts\nupkg</PackageOutputPath>
2021
<GenerateDocumentationFile Condition=" '$(CI)' == 'true' and '$(IsPackable)' == 'true' ">true</GenerateDocumentationFile>
2122
</PropertyGroup>

src/Directory.Build.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/>
33
<PropertyGroup>
44
<IsPackable>true</IsPackable>
5-
<EnablePackageValidation Condition="'$(PackageValidationBaselineVersion)' != ''">true</EnablePackageValidation>
65
</PropertyGroup>
7-
</Project>
6+
</Project>

tools/Directory.Build.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/>
33
<PropertyGroup>
44
<IsPackable>true</IsPackable>
5-
<EnablePackageValidation Condition="'$(PackageValidationBaselineVersion)' != ''">true</EnablePackageValidation>
65
</PropertyGroup>
7-
</Project>
6+
</Project>

0 commit comments

Comments
 (0)