File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 32
32
run : |
33
33
dotnet build
34
34
dotnet test
35
+ # Pack production packages to validate compatibility
36
+ dotnet pack -p:ContinuousIntegrationBuild=true
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ The normal steps are expected to be:
24
24
- The maintainer who creates and merges this change is also (by default) responsible for manually creating
25
25
the GitHub release and (automatically) a corresponding tag. See below for the format of these.
26
26
- NuGet packages are automatically created and pushed when the release is created.
27
+ - After a minor or major release, the ` PackageValidationBaselineVersion ` is updated
28
+ to the new version number as the baseline for a future release to be compatible with.
27
29
28
30
## Stable package versioning
29
31
Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<!--
4
4
- We use the same version number for all stable
5
- - packages. See PROCESSES .md for details.
5
+ - packages. See RELEASING .md for details.
6
6
-->
7
7
<Version >2.7.1</Version >
8
+ <PackageValidationBaselineVersion >2.7.0</PackageValidationBaselineVersion >
8
9
9
10
<!-- Make the repository root available for other properties -->
10
11
<RepoRoot >$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))</RepoRoot >
14
15
<SignAssembly >True</SignAssembly >
15
16
<Deterministic >True</Deterministic >
16
17
<TreatWarningsAsErrors >True</TreatWarningsAsErrors >
17
- <GenerateDocumentationFile >true</GenerateDocumentationFile >
18
+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
19
+ <EnablePackageValidation >true</EnablePackageValidation >
20
+ <ApiCompatEnableRuleCannotChangeParameterName >true</ApiCompatEnableRuleCannotChangeParameterName >
18
21
19
22
<!-- Package properties -->
20
23
<AllowedOutputExtensionsInPackageBuildOutputFolder >$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder >
You can’t perform that action at this time.
0 commit comments