-
Notifications
You must be signed in to change notification settings - Fork 122
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
Running check after building the changelog #152
Comments
@energizah, are you satisfied that the other issues and PR cover this? In other words, is closing as duplicate appropriate? |
The original post above says
which is both the input files and the output files. But the PR only mentions the output files:
so I'm not sure. |
I think the 'only' refers to not requiring that you have a new newsfragment, which is the normal thing being checked presently. I don't think there's any checking to make sure you have not removed newsfragments. Presently towncrier check works for feature/bugfix/etc PRs. My expectation is that the PR would make it also able to handle release PRs where towncrier has been called and consumed the newsfragments and updated the changelog. Do these expectations cover your needs? Maybe I should have been thinking of #246 as the duplicate but... anyways, forget closing this. Just make sure I am trying to achieve what you need. |
I think so. For concreteness, my scenario has an MWE in the OP. (edit: it's actually not a complete mwe, nevermind.) |
I would say that the current behavior is expected.
If you have just generated the file... you can't generate it again, so From the description on this issue, it looks like you are trying to use Maybe rename |
To fix this issue, I think that we should start by documenting the |
Instead of renaming |
I'm admittedly still figuring out the workflow for towncrier.
I'm trying something like:
This last step fails because I've already updated the changelog and removed the fragments. Could
towncrier.check
figure out that it's already handled the newsfragments for this branch?The text was updated successfully, but these errors were encountered: