-
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
Regression/breakage on 24.7.0 - check for invalid files #632
Comments
Thanks for the report. A PR to automatically ignore the template would be great. I would be happy to review and merge and then we can trigger a new release. Thanks again |
Done here - #633 |
I'm not sure this has been fixed. I'm seeing CI failures with the same error using 24.7.1:
|
The initial PR didn't fixed the issue. It was fixed here #638 I will trigger a new release soon. |
@adiroiban Are you able to give any indication when "soon" is likely to be? I have avoided introducing a workaround to my code because I was under the impression that a new point release was imminent, but if that's not the case, then a workaround may be required. |
Hi,
thanks for great project!
When we upgraded to towncrier 24.7.0, we started getting this error in CI:
We have
changelog_template.jinja
set astemplate
in thetowncrier.toml
config file. I realize we can add it toignore
, but I checked other repositories and realized we've probably followed a pattern seen in other projects, where the template is inside the changes directory - as can be seen here:I assume it's a common pattern, and will break for them. Obviously each repo can fix it by adding
ignore
but I think it'd be better to handle it on towncrier side, potentially by either deprecating the feature (showing warning saying it will fail in next versions) or releasing in major version, another option is to make towncrier ignore the file used in template automatically.Would be happy to send a PR implementing one of the options.
Related:
#622
#619
The text was updated successfully, but these errors were encountered: