Skip to content

Commit

Permalink
Auto merge of rust-lang#14133 - lnicola:changelog-version, r=lnicola
Browse files Browse the repository at this point in the history
minor: Add version placeholder to changelog template

Closes rust-lang#13967

This isn't great because we need to fill it in manually, but getting the version number from GitHub Actions is a bit annoying.
  • Loading branch information
bors committed Feb 12, 2023
2 parents c29a004 + 240b6f7 commit 5ef76da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xtask/src/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ impl flags::PublishReleaseNotes {
let tag_name = &file_name[0..10];
let original_changelog_url = create_original_changelog_url(&file_name);
let additional_paragraph =
format!("\nSee also [original changelog]({original_changelog_url}).");
format!("\nSee also the [changelog post]({original_changelog_url}).");
markdown.push_str(&additional_paragraph);
if self.dry_run {
println!("{markdown}");
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/release/changelog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub(crate) fn get_changelog(
:page-layout: post
Commit: commit:{commit}[] +
Release: release:{today}[]
Release: release:{today}[] (`TBD`)
== New Features
Expand Down

0 comments on commit 5ef76da

Please sign in to comment.