Add compatibility checks
Signed-off-by: Jon Skeet <jonskeet@google.com>
This commit is contained in:
parent
6385133391
commit
684698c09d
|
@ -32,3 +32,5 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
dotnet build
|
dotnet build
|
||||||
dotnet test
|
dotnet test
|
||||||
|
# Pack production packages to validate compatibility
|
||||||
|
dotnet pack -p:ContinuousIntegrationBuild=true
|
||||||
|
|
|
@ -24,6 +24,8 @@ The normal steps are expected to be:
|
||||||
- The maintainer who creates and merges this change is also (by default) responsible for manually creating
|
- The maintainer who creates and merges this change is also (by default) responsible for manually creating
|
||||||
the GitHub release and (automatically) a corresponding tag. See below for the format of these.
|
the GitHub release and (automatically) a corresponding tag. See below for the format of these.
|
||||||
- NuGet packages are automatically created and pushed when the release is created.
|
- NuGet packages are automatically created and pushed when the release is created.
|
||||||
|
- After a minor or major release, the `PackageValidationBaselineVersion` is updated
|
||||||
|
to the new version number as the baseline for a future release to be compatible with.
|
||||||
|
|
||||||
## Stable package versioning
|
## Stable package versioning
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!--
|
<!--
|
||||||
- We use the same version number for all stable
|
- We use the same version number for all stable
|
||||||
- packages. See PROCESSES.md for details.
|
- packages. See RELEASING.md for details.
|
||||||
-->
|
-->
|
||||||
<Version>2.7.1</Version>
|
<Version>2.7.1</Version>
|
||||||
|
<PackageValidationBaselineVersion>2.7.0</PackageValidationBaselineVersion>
|
||||||
|
|
||||||
<!-- Make the repository root available for other properties -->
|
<!-- Make the repository root available for other properties -->
|
||||||
<RepoRoot>$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))</RepoRoot>
|
<RepoRoot>$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))</RepoRoot>
|
||||||
|
@ -15,6 +16,8 @@
|
||||||
<Deterministic>True</Deterministic>
|
<Deterministic>True</Deterministic>
|
||||||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
|
<EnablePackageValidation>true</EnablePackageValidation>
|
||||||
|
<ApiCompatEnableRuleCannotChangeParameterName>true</ApiCompatEnableRuleCannotChangeParameterName>
|
||||||
|
|
||||||
<!-- Package properties -->
|
<!-- Package properties -->
|
||||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||||
|
|
Loading…
Reference in New Issue