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
Only include commits that contain modifications to a path prefix #935
Comments
I've got a proof of concept set up, I'll clean up the code and submit a PR after I've used it for a bit in my project |
newer version supports multiple
|
@jetersen It seems as though |
So do you release all modules at once in the same release, ie what your looking for is grouping pull requests inside the draft according to path. Or would you want each module to be in an individual release making separate release drafts? |
The latter -- Each module is binary compatible with the others, so if the modules are structured as a tree ( It may be easiest to see how I've got things set up in my project:
and, if necessary, |
@blast-hardcheese some of these changes looks fine. Perhaps if you could prepare smaller pull requests for the separate bits we can get them into this repo? emptyVersionInfo is definitely a nice fix :) includePaths should be optional inside the graphql query. |
You could use extends to reduce the amount of config repeat you had to do and only overwrite with versioning stuff than you don't need a ie. name-template: 'scala-http4s-v$RESOLVED_VERSION'
tag-template: 'scala-http4s-v$RESOLVED_VERSION'
tag-prefix: scala-http4s-v
include-paths:
- "modules/scala-http4s/src/main/"
- "project/src/main/scala/Build.scala"
- "project/src/main/scala/modules/scalaHttp4s.scala"
_extends: guardrail:.github/release_drafter.yml |
Oh, that's a great tip! I'll clean up some PRs, starting with |
@blast-hardcheese Would my suggestion in #1061 help you to fix your use case? Instead of path's you could maybe use |
|
@masashi-sutou The license is open and you can always credit him with |
I intend to, yes, though I've got conflicting priorities in real life currently, so I've not yet been able to get back to this. Is it blocking something? |
Real life always gets in the way of the virtual life, hope all is well |
Getting to know our daughter, all is well 😊 |
Well that is a excellent excuse to focus on real life 😅 |
|
OK, following up on splitting up my feature branch, starting with |
|
I'd like to have multiple configurations of
release-drafter
in order to maintain multiple distinct versions in the same repository.release-drafter
does permit configuring a tag prefix, as well as custom template locations, so the only missing component is the ability to choose which commits to include.From the CLI, I'm looking at something like:
I'm happy to do the work here, just opening this issue to announce intent.
The text was updated successfully, but these errors were encountered: