Skip to content

Commit

Permalink
Use internally-generated release notes for IRLO announcement
Browse files Browse the repository at this point in the history
Now that https://dev-doc.rust-lang.org/1.76.0/releases.html exists,
we can use it and not have to worry about
rust-lang/rust#101714 any more.

This is a follow-up for
rust-lang/rust#117888
  • Loading branch information
notriddle authored and Mark-Simulacrum committed Feb 4, 2024
1 parent 83bcd5a commit 4f839d6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,8 @@ impl Config {
internals_url: Option<&str>,
) -> Option<String> {
let scheduled_release_date = self.scheduled_release_date?;
let release_notes_url = format!(
"https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-{}-{}",
release.replace('.', ""),
scheduled_release_date.format("%Y-%m-%d"),
);
// Can't use `doc.rust-lang.org`, because the release hasn't been promoted yet.
let release_notes_url = format!("https://dev-doc.rust-lang.org/{release}/releases.html");
let human_date = scheduled_release_date.format("%B %-d");
let internals = internals_url
.map(|url| format!("You can leave feedback on the [internals thread]({url})."))
Expand Down

0 comments on commit 4f839d6

Please sign in to comment.