Browse Source
* Refactor how release notes are managed This commit updates how Wasmtime manages release notes across released versions of Wasmtime. One of the most onerous parts about releases right now is writing release notes in all the locations and making sure they're all up-to-date and in-sync. This is inevitably forgotten in some cases and various pieces will slip through the cracks. The basic idea of this PR is to change our release notes to only document the release branch that they're on. All historical release notes are relegated to historical branches. With this change there's no longer any need to backport or forward-port release notes for any changes. Instead release notes are written once on one branch and that's it. The major downside of this change is that there's no easy way to get a bird's eye view of all release notes for Wasmtime any more. If necessary that could theoretically be automated in the future (like https://releases.rs/), but for now this feels like an acceptable compromise to make releases much easier. The contents of this PR are to update `RELEASES.md` with back-links to historical release notes as well as the various pieces of automation we have about managing release notes. * Add more notes about the release process * Fix a typo * Make it more obvious that patch releases are documentedpull/8689/head
Alex Crichton
6 months ago
committed by
GitHub
5 changed files with 75 additions and 4142 deletions
File diff suppressed because it is too large
@ -1,18 +0,0 @@ |
|||
fn main() { |
|||
let date = std::env::args().nth(1).unwrap(); |
|||
let relnotes = std::fs::read_to_string("RELEASES.md").unwrap(); |
|||
let mut new_relnotes = String::new(); |
|||
let mut counter = 0; |
|||
for line in relnotes.lines() { |
|||
if line.starts_with("Unreleased") { |
|||
counter += 1; |
|||
if counter == 2 { |
|||
new_relnotes.push_str(&format!("Released {}\n", date)); |
|||
continue; |
|||
} |
|||
} |
|||
new_relnotes.push_str(line); |
|||
new_relnotes.push_str("\n"); |
|||
} |
|||
std::fs::write("RELEASES.md", new_relnotes).unwrap(); |
|||
} |
Loading…
Reference in new issue