nuke icon indicating copy to clipboard operation
nuke copied to clipboard

Add relative working directory to NerdbankGitVersioning attribute

Open Sam13 opened this issue 2 years ago • 1 comments

Adds support for mono repos by allowing usage of different configuration files in subdirectories. See https://github.com/dotnet/Nerdbank.GitVersioning/blob/main/doc/pathFilters.md for documentation about multiple NBGV configuration files in same repository.

Usage:

[NerdbankGitVersioning(WorkingDirectoryRelativePath = @"subdir\different-config\")]
readonly NerdbankGitVersioning Nbgv;

I confirm that the pull-request:

  • [x] Follows the contribution guidelines
  • [x] Is based on my own work
  • [x] Is in compliance with my employer

Sam13 avatar Jun 14 '23 06:06 Sam13

@matkoch I don't think I'm responsible for all those Quodana errors during PR build :-|

Sam13 avatar Jun 15 '23 08:06 Sam13