-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ENH: Add release notes to release #13191
Comments
It's not very easy either. The release notes are generated automatically when the release is triggered, then pretty heavily edited. We might be able to insert a link to e.g. https://rust-analyzer.github.io/thisweek/2022/09/05/changelog-145.html, but even that can pose problems with out-of-band releases like https://rust-analyzer.github.io/thisweek/2022/05/17/changelog-129-5.html. |
Link would be great.
How often are there out of band releases, and us their put of band nature
evident somewhere in the code base?
If the date is unexpected one could simply not add a link or mention "out
of band" in the notes - and refer to the website more generally rather than
direct at a precise release notes website.
…On Mon, Sep 5, 2022, 09:30 Laurențiu Nicola ***@***.***> wrote:
It's not very easy either. The release notes are generated automatically
when the release is triggered, then pretty heavily edited. We might be able
to insert a link to e.g.
https://rust-analyzer.github.io/thisweek/2022/09/05/changelog-145.html,
but even that can pose problems with out-of-band releases like
https://rust-analyzer.github.io/thisweek/2022/05/17/changelog-129-5.html.
—
Reply to this email directly, view it on GitHub
<#13191 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF77AQKXGELRNIBHLJWTI33V4WOS5ANCNFSM6AAAAAAQEWS2EQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I mean, the GitHub release is published automatically at the moment. There's nothing marking it as "out of band", and I only gave those as a not-obvious example because they tend to break the URL and release numbering. I'm not saying that this can't be done, but we'd have to change almost everything about how the releases are made. |
I would like to try to solve this issue. I checked the following files and understood that GitHub Releases entries are generated in a GitHub Actions workflow along with release binaries and that templates for changelog entries are generated in the local environment. The simplest solution would be to update the GitHub Releases entry when a new edited changelog entry is pushed to the website repository. Do you have any suggestions? |
@rustbot claim |
Sorry for taking so long. I didn't realize that we could update GitHub releases after publishing them, but that's indeed possible: https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#update-a-release. This could be an extra step, something like |
When having a look at the latest release I was surprised to find there were no release notes.
https://github.com/rust-lang/rust-analyzer/releases/tag/2022-09-05
This seems to be the rule - a but surprising for such a big project.
Would it be hard to populate the release notes with whatever is in the changelog?
I know the releases are a GitHub feature and not strictly necessary, but since releases get announced to all watchers it would be nice to have the info there.
It seems to exist already here: https://rust-analyzer.github.io/thisweek/2022/08/29/changelog-144.html
The text was updated successfully, but these errors were encountered: