diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb64d7b..e67248d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,3 +32,5 @@ jobs: run: | dotnet build dotnet test + # Pack production packages to validate compatibility + dotnet pack -p:ContinuousIntegrationBuild=true diff --git a/RELEASING.md b/RELEASING.md index 5993b43..4ef2774 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -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 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. +- 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 diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 0f81436..64c7440 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,9 +2,10 @@ 2.7.1 + 2.7.0 $([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)')))) @@ -14,7 +15,9 @@ True True True - true + true + true + true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb