Skip to content

Commit cb420d2

Browse files
authored
Align github and nuget release versions (#1416)
Align github and nuget release versions
1 parent cfccd83 commit cb420d2

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Documentation/Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9+
### Fixed
10+
-Allign published nuget package version to github release version [#1413](https://github.com/coverlet-coverage/coverlet/issues/1413)
11+
-Sync nuget and github release versions [#1122](https://github.com/coverlet-coverage/coverlet/issues/1122)
12+
913
### Breaking changes
1014
- New parameter `ExcludeAssembliesWithoutSources` to control automatic assembly exclusion [1164](https://github.com/coverlet-coverage/coverlet/issues/1164). The parameter `InstrumentModulesWithoutLocalSources` has been removed. since it can be handled by setting `ExcludeAssembliesWithoutSources` to `None`.
1115
- The default heuristics for determining whether to instrument an assembly has been changed. In previous versions any missing source file was taken as a signal that it was a third-party project that shouldn't be instrumented, with exceptions for some common file name patterns for source generators. Now only assemblies where no source files at all can be found are excluded from instrumentation, and the code for detecting source generator files have been removed. To get back to the behaviour that at least one missing file is sufficient to exclude an assembly, set `ExcludeAssembliesWithoutSources` to `MissingAny`, or use assembly exclusion filters for more fine-grained control.

Documentation/ReleasePlan.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ This is the steps to release new packages to nuget.org
8282

8383
1. Update projects version in file `version.json` in root of repo (remove `-preview.{height}` and adjust version)
8484

85-
Update core lib project file version https://github.com/coverlet-coverage/coverlet/blob/master/src/coverlet.core/coverlet.core.csproj.
86-
8785
Do a PR and merge to master.
8886

8987
2. Clone repo, **remember to build packages from master and not from your fork or metadata links will point to your forked repo.** . Run `git log -5` from repo root to verify last commit.

src/coverlet.core/coverlet.core.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<PropertyGroup>
44
<OutputType>Library</OutputType>
55
<TargetFramework>netstandard2.0</TargetFramework>
6-
<AssemblyVersion>6.0.0</AssemblyVersion>
76
<IsPackable>false</IsPackable>
87
</PropertyGroup>
98

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "4.0.0-preview.{height}",
3+
"version": "6.0.0-preview.{height}",
44
"publicReleaseRefSpec": [
55
"^refs/heads/master$"
66
],

0 commit comments

Comments
 (0)