alexcrichton opened PR #7405 from alexcrichton:auto-relnotes
to bytecodealliance:main
:
This commit is an attempt to tackle #7068 by configuring the release notes in Github Releases with the handwritten release notes from
RELEASES.md
. The basic idea here is to split the markdown file on-----
delimiters and then find the one which matches the version being released. Once one is found thebody
field of the API call to create the release is configured.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested wasmtime-default-reviewers for a review on PR #7405.
alexcrichton requested abrown for a review on PR #7405.
alexcrichton edited PR #7405:
This commit is an attempt to tackle #7068 by configuring the release notes in Github Releases with the handwritten release notes from
RELEASES.md
. The basic idea here is to split the markdown file on-----
delimiters and then find the one which matches the version being released. Once one is found thebody
field of the API call to create the release is configured.Closes https://github.com/bytecodealliance/wasmtime/issues/7068
abrown submitted PR review.
abrown submitted PR review.
abrown created PR review comment:
Do we need to be more defensive? What about lists that start a line with
-
or a--
that somehow gets formatted to the beginning of a line?for (let x of releaseNotes.split(/^---+$/m)) {
alexcrichton updated PR #7405.
alexcrichton has enabled auto merge for PR #7405.
alexcrichton merged PR #7405.
Last updated: Dec 23 2024 at 12:05 UTC