nuke
nuke copied to clipboard
Add relative working directory to NerdbankGitVersioning attribute
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
@matkoch I don't think I'm responsible for all those Quodana errors during PR build :-|