-
Notifications
You must be signed in to change notification settings - Fork 34
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
Feature request: allow manual formatting of CHANGELOG before committing #38
Comments
So, I think this might work for you - conventional-changelog#530 - it changes the way that the lifecycle hooks are invoked so that you could run an interactive editing session during the release. I didn't merge that PR when I reviewed the open PRs to standard-version, because:
Since it seemed like a niche use case to me and the PR wasn't ready, I didn't look into it further - but if you're happy to do the investigation, I'd be happy to merge it (or an alternative solution to the same problem). I think it is on-topic and it seems like you're not the only person who wants it. |
I would also get some use out of this. I routinely I would suggest a simpler flow where there is an option flag for |
I like the If anyone wants to clean up the above PR and submit it, I'd happily accept it. |
One option to fill in the gap for people that don't have it set is to use |
Sounds like a nice solution to me - it would make no assumptions about what shell people were using, so would even work for any (probably hypothetical) shells without Stackoverflow seems to suggest that windows users will get an error message if they don't do some extra config, but I guess we could detect failure and hint that |
Presumably you can detect failure just by checking if |
Hello, I was looking for the same feature for our project as generated changelogs sometimes need a little rectification. for example : |
In our projects we need to do some manual editing of our generated changelog before committing and tagging. We use this tool right now with
--skip.tag
, then format manually,git commit amend
and then perform a manualgit tag vx.y.z
to achieve this.Previously we used a tool that just generated the changelog and then paused to allow edits, waiting for an IO prompt to continue committing.
I was wondering if we could add something similar to
commit-and-tag-version
or if anyone has ideas how we can already achieve this with apostchangelog
script for example (I tried but didn't get anything to work).I would be happy to contribute to the project but just want to know beforehand if this is something that, when done properly, would get merged.
Example of the suggestion:
The text was updated successfully, but these errors were encountered: