-
Notifications
You must be signed in to change notification settings - Fork 74
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
Proper Changelog For Releases #70
Comments
It's on my list of things to do - I was putting changelogs manually on curseforge, I'll look into a way of doing this and bring back all the manual changelogs to the GH releases. |
If I find the time, I will also try to invest it and help you out. But I can't promise it at the moment 😞 . |
I had a quick look into this. And I think the following should be decided first to pick a good integration into the github workflow: Do you want to adapt a commit style like Conventional Commits or do you want to use Commits without any convention? |
@ueberBrot We're going to go with conventional commits on merge commits, I think. This way, there's a way to easily distinguish what will go in the changelog, it should be exhaustive (since there is no reason to push straight to (And that way, we can build a changelog by just scanning for commits with more than one parent 👍 ) |
@srenauld I had a look into a few gh-actions to create release notes. The one I like the most is Release Changelog Builder from mikepenz. Something that works like you described I did not find. I will leave you a short tldr here. But it is best to have a look at it yourself. To get the merged PRs sorted into the right category (Feature, Bug fix, Chore, ...) you create labels that you assign to the PR. In a folder in the repository, e.g. in the something like that: {
"categories": [
{
"title": "## Features",
"labels": [
"feature"
]
},
{
"title": "## Fixes",
"labels": [
"fix"
]
},
{
"title": "## Other",
"labels": [
"perf",
"refactor"
]
},
{
"title": "## Chores",
"labels": [
"chore"
]
},
{
"title": "## Documentation",
"labels": [
"docs"
]
}
]
} The release notes are generated and added to the release by integrating the following step into the workflow and adding - name: Build Changelog
id: github_release
uses: mikepenz/[email protected]
with:
configuration: ".github/configuration.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} Example: |
If it is not to much trouble I would like to see a proper changelog for the new releases.
Maybe adapt a git commit style (maybe Conventional Commits) and from there move to a auto generated changelog and release notes with github actions?
Maybe its just me but I love the commit style and CHANGELOGS look so much better with it.
The text was updated successfully, but these errors were encountered: