Skip to content

Commit

Permalink
Add baseline package validation
Browse files Browse the repository at this point in the history
  • Loading branch information
westin-m committed Oct 4, 2023
1 parent b0fadfe commit 1cf98ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 289 deletions.
49 changes: 0 additions & 49 deletions build/apiCompat.props

This file was deleted.

224 changes: 0 additions & 224 deletions build/apiCompat.ps1

This file was deleted.

7 changes: 6 additions & 1 deletion build/common.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project>

<Import Project="apiCompat.props" />
<Import Project="dependencies.props" />
<Import Project="targets.props" />
<Import Project="version.props" />
Expand Down Expand Up @@ -35,6 +34,12 @@
<LangVersion>11</LangVersion>
</PropertyGroup>

<PropertyGroup>
<PackageVersion>7.1.0</PackageVersion>
<EnablePackageValidation>true</EnablePackageValidation>
<PackageValidationBaselineVersion>7.0.0</PackageValidationBaselineVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
Expand Down
15 changes: 0 additions & 15 deletions build/releaseBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,6 @@ jobs:
filePath: ./updateAssemblyInfo.ps1
arguments: '-packageType $(BuildConfiguration)'

- task: PowerShell@2
displayName: 'Prepare contract assemblies'
inputs:
targetType: 'filePath'
filePath: $(Agent.BuildDirectory)\s\build\apiCompat.ps1
arguments: >
-feedLocation "NuGet"
-packageNames $(Wilson6xPackageList)
-packageVersion: "latest"
-adoFeedSource: $(AdoFeedSource)
-adoFeedName: $(AdoFeedName)
-adoAllowPrerelease: "false"
-apiCompatRoot: $(ApiCompatRootWilson)
-nugetPackageProviderVersion: "2.8.5.208"
# - task: MSBuild@1
# displayName: Build
# inputs:
Expand Down

0 comments on commit 1cf98ec

Please sign in to comment.