Skip to content

Commit b6b69f6

Browse files
committed
Use internally-generated release notes for IRLO announcement
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
1 parent 075a927 commit b6b69f6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/config.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,8 @@ impl Config {
285285
internals_url: Option<&str>,
286286
) -> Option<String> {
287287
let scheduled_release_date = self.scheduled_release_date?;
288-
let release_notes_url = format!(
289-
"https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-{}-{}",
290-
release.replace('.', ""),
291-
scheduled_release_date.format("%Y-%m-%d"),
292-
);
288+
// Can't use `doc.rust-lang.org`, because the release hasn't been promoted yet.
289+
let release_notes_url = format!("https://dev-doc.rust-lang.org/{release}/releases.html");
293290
let human_date = scheduled_release_date.format("%B %-d");
294291
let internals = internals_url
295292
.map(|url| format!("You can leave feedback on the [internals thread]({url})."))

0 commit comments

Comments
 (0)