Skip to content
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

Generate CHANGELOG.md using changelog-from-release tool #1579

Closed
Bertk opened this issue Jan 8, 2024 · 3 comments
Closed

Generate CHANGELOG.md using changelog-from-release tool #1579

Bertk opened this issue Jan 8, 2024 · 3 comments
Assignees
Labels
discussion Generic discussion on something

Comments

@Bertk
Copy link
Collaborator

Bertk commented Jan 8, 2024

The CHANGELOG.md can be generated using available tools and should be updated within the PR. This might require addition conventions for PR and git commits.

There are many tools and my favored for coverlet is [changelog-from-release]. I created a CHANGELOG.md for coverlet with this tools (see attachment) with command changelog-from-release -r https://github.com/coverlet-coverage/coverlet.

Proposal:
Create GitHub action which created CHANGELOG.md and upload the file as build artifact. This can be used for release activity or using draft releases even for PR.

@daveMueller @MarcoRossignoli
Please share your thoughts on this topic .

CHANGELOG.md

see also:

Draft release is updated every time the pipeline with the release-drafter action is called. 🚀
image

@Bertk Bertk added the discussion Generic discussion on something label Jan 8, 2024
@github-actions github-actions bot added the untriaged To be investigated label Jan 8, 2024
@Bertk Bertk removed the untriaged To be investigated label Jan 8, 2024
@MarcoRossignoli
Copy link
Collaborator

looks interesting, @daveMueller what you think?

@daveMueller
Copy link
Collaborator

Nothing against that. As long as it is just release-drafter and changelog-from-release and I don't need to look into additional tools to fix something when it breaks. What I think is a bit annoying that you need changelog-from-release to create the markdown as release-drafter doesn't have a option to also create it.
What I'm also missing a bit is the option to manually add something to the markdown, e.g. description of breaking changes etc... Do I then need to update the draft release first with my manual information so that it is included in the changelog?

@Bertk
Copy link
Collaborator Author

Bertk commented Jan 17, 2024

Yes, the (draft) release information will be the source for CHANGELOG.md. release-drafter will create information which can be used and modified/extended but the information depends on the correct labeling.

Maybe we can just active release-drafter draft now and changelog-from-release as the next step.

changelog-from-release will update the format of CHANGELOG.md and the current template is not using e.g. a preamble. The existing coverlet releases need also updates to resolve markdown format issues. By the way, I can not modify the coverlet release information.

image

@Bertk Bertk closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Generic discussion on something
Projects
None yet
Development

No branches or pull requests

3 participants