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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow multiple paths in --commit-path
#909
Comments
Literally just digging into this as well! In my case, I want to filter commits that touch: Having the ability to specific multiple paths is exactly what's needed! |
@t-kelly with the above patch you would be able to pass these and I believe would work
(may need some trial & error to confirm) |
Yep! Works like a charm. Also thank you for introducing me to patch package!!! HOW AM I ONLY JUST DISCOVERING THIS!?! |
Also looking at this in relation to lerna/lerna#1257 |
This was fixed and merged here: #1079 You don't need to use
I didn't test this exact snippets but the almost the same worked for me for the |
Hi! 馃憢
Firstly, thanks for your work on this project! 馃檪
Today I used patch-package to patch
git-raw-commits@2.0.0
for the project I'm working on.We're working in a monorepo, and would like to generate changelogs for the whole repo, excluding certain folders. I was able to achieve this using the git pathspec syntax, and a small change in
git-raw-commits
.We're now able to use the following to generate the changelog excluding a specific sub-path:
conventional-changelog -p angular -i CHANGELOG.md -s --commit-path='. :!packages/*'
Not sure if this would fit in the scope of this project - but I thought I'd share in case anyone runs into a similar issue.
If this is something you are willing to merge, let me know and I can prepare a PR.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: