-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add new ## Unreleased
section to CHANGELOG.md after replacing it with the just-released tag
#415
Comments
could you elaborate on what you're referring to ? |
After this commit is made, I'd like there to be another one that adds a blank |
## Unreleased
section after replacing it with the just-released tag## Unreleased
section to CHANGELOG.md after replacing it with the just-released tag
I'm not sure how that would work -- wouldn't that make the top of a just-released changelog say "Unreleased" if it were to add that section at the same time ? that seems undesirable |
Yes, it would - that's what the changelog.md looks like anyway - PRs add their items to the I mean it's really a first-world-problem of course, just nice to have as it makes life just a bit easier. Also, it helps reduce the chance (of course it doesn't prevent this) of accidentally adding one to an already released section accidentally. |
I think what you actually want is a post-release commit to re-add that section -- having it be part of the release will ship that "Unreleased" header to package repositories |
yes exactly
Maybe my assumption was wrong then - I thought craft runs the whole release process so it could make a commit after it made the release? |
the current way craft works is it merges in a commit that's already passed tests -- it could add another commit afterwards but I'm not sure it should without review / passing tests / etc. |
Why not use the automatic changelog policy instead? |
This is something everyone has to do manually at the moment (or have some other automation do it for them).
I guess this could be an additional commit after the tagged change.
The text was updated successfully, but these errors were encountered: