Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherit with override for pathFilter #1042

Open
thomas-ravkilde opened this issue Apr 8, 2024 · 0 comments
Open

Inherit with override for pathFilter #1042

thomas-ravkilde opened this issue Apr 8, 2024 · 0 comments

Comments

@thomas-ravkilde
Copy link

I have a VS solution with a number of projects. Most of them should share the same version but two need to be separate from the others, and each other, due to third-party integration demands (the point mainly being that they should not be version-bumped unless something has very specifically been changed in their projects).

To make everything more simple to maintain, I'd like to use "inherit": "true" and just set the version and pathFilter in those two projects. However, it appears that pathFilter is concatenated when inheriting parent version.json info, which makes path filtering behave somewhat unintuitively.

Right now have to exclude pathFilter in the parent version.json and then have one in every project that lists every folder that needs to be included by NB.GV, Preferably, I'd like to have a parent version.json with "pathFilter": [ ":/", "!separateRepo2", "separateRepo2 ] or similar and just have "pathFilter": [ "." ] for the two separate children.

This sample should illustrate the point: sample.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant