-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
ci: extract changelog for GitHub release notes #92
Conversation
Isn't there another way to test it? Even locally, to show us what the script will generate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's best to create a bash script somewhere in the repository, maybe under a scripts/
folder. So we have one script used by all the workflows. If there's a bug, we would need to fix all the workflows and we might forget
679f042
to
23f82c6
Compare
23f82c6
to
02804da
Compare
02804da
to
0c9c533
Compare
I improved the script by using the
I tested the script locally. However, there is no way to easily test the workflow... |
Even a local test is enough :) |
0c9c533
to
29a5705
Compare
Summary
This PR updates the release workflows.
GitHub Release notes are now generated from the changelog.
The script extract the first subsection that starts with a digit, e.g.
## 1.1.0
. This allows to skip## Unreleased
.The changelog should be updated before every release.
I also removed useless
fetch-depth
parameter that is set to1
by default.Test Plan
Next release.