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
[changelog] Changelog is generated even if an external file is specified #965
Comments
I can't replicate this error with JReleaser
release:
github:
overwrite: true
sign: true
discussionCategoryName: Announcements
changelog:
external: CHANGELOG.md
preset: conventional-commits
formatted: ALWAYS
format: '- {{commitShortHash}} {{commitTitle}}'
contributors:
format: '- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}'
## Changelog
- Fixed stuff
The changelog at |
In my config, I use the The external changelog is located on parent/root project and is specified like that: <external>${project.basedir}/../CHANGELOG.md</external> |
Aha, then I guess what could happen is that the value of |
After some digging, I think that the changelog is generated by the ChangelogWorkflowItem whatever the content of JReleaserContext. |
I'm unable to reproduce the problem with |
Strange.
Note that the GitHub release page has the expected changelog. |
Found the issue. Thank you for the reproducer! 😅 |
Released in v1.3.0 -> https://github.com/jreleaser/jreleaser/releases/tag/v1.3.0 |
Steps to Reproduce
Expected Behaviour
No changelog should be generated.
JReleaser should check that the external file exists during dry-run.
Actual Behaviour
Changelog is generated.
JReleaser doesn't check that the external file exists during dry-run.
The text was updated successfully, but these errors were encountered: