diff --git a/RELEASING.md b/RELEASING.md index 4ef2774..5ba5cd0 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -43,13 +43,20 @@ Within this repository, this is achieved by the following mechanisms: - Individual csproj files do not specify a version - The [Directory.Build.props](src/Directory.Build.props) file has a `` element - specifying the version of all packages + specifying the version of all packages which don't need a separate major A single GitHub release (and tag) will be created for each beta release, to cover all packages. - Example tag name: "CloudNative.CloudEvents.All-2.0.0" - Example release title: "All packages version 2.0.0" +### Exception: new major versions + +Sometimes, we need a new major version of a "satellite" package, typically +to adopt a new major version of a dependency. In this case, the satellite package +will have its own major version, but keep the minor and patch version of everything +else. + ## New / unstable package versioning New packages are introduced with alpha and beta versions as would diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 64c7440..a57ec15 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,11 +1,22 @@ - 2.7.1 - 2.7.0 + 2 + 7 + 1 + 7 + $(MajorVersion).$(MinorVersion).$(PatchVersion) + + 2.$(PackageValidationMinor).0 $([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))