Skip to content
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

Use internally-generated release notes for IRLO announcement #81

Merged
merged 1 commit into from
Feb 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading