-
Notifications
You must be signed in to change notification settings - Fork 323
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
Support specifying a component in "Relase-As:", empty commits monorepos #1905
Comments
The current usage for this is touch any file in that component's path (like a README or something). Then the |
Ya, I'd like to avoid the touch, but this is a fine workaround and I understand if you'd not like to add code to support what I describe. I hope it's not rude to point out this comment... that feature is far more important to us (in some ways this proposal is a stop-gap). 😅 |
I am happy to work on a PR for this change. How does this approach look?
This will cause the changelog to include the (originally hidden) "Miscellaneous Chores" section for those two components. Is it possible "Component" could conflict with other headers? |
I have added some failing tests in the above draft pull request. To make these pass, I believe we just need to check for the release-please/src/util/commit-split.ts Lines 111 to 113 in 5e67d02
However, I noticed that the Does this sound right @chingor13? Or am I completely off track. |
+1 This would be useful in one of my projects |
Workaround is to force a file change within the component, I noticed the Since the commit has a |
It's convenient to be able to use an empty commit to specify a release version as described here. In the OpenFeature project, we have a number of monorepos that use release-please, and sometimes we want to create a release for a specific component in a monorepo without changes (releasing a 1.0 is a good example).
There doesn't seem to be a way to do this with an empty commit. Currently doing the above results in releasing all components at the specified version. It would be great if you could do something like add
Component: my-library
in the commit body to tell the manifest release which component you mean.Apologies if this is already possible... I couldn't find doc about it.
I'd be interested in taking this on if there's agreement it's a reasonable addition.
The text was updated successfully, but these errors were encountered: