Auto merge of #14133 - lnicola:changelog-version, r=lnicola

minor: Add version placeholder to changelog template

Closes #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.
This commit is contained in:
bors 2023-02-12 08:57:08 +00:00
commit 5ef76da835
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ impl flags::PublishReleaseNotes {
let tag_name = &file_name[0..10]; let tag_name = &file_name[0..10];
let original_changelog_url = create_original_changelog_url(&file_name); let original_changelog_url = create_original_changelog_url(&file_name);
let additional_paragraph = 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); markdown.push_str(&additional_paragraph);
if self.dry_run { if self.dry_run {
println!("{markdown}"); println!("{markdown}");

View File

@ -69,7 +69,7 @@ pub(crate) fn get_changelog(
:page-layout: post :page-layout: post
Commit: commit:{commit}[] + Commit: commit:{commit}[] +
Release: release:{today}[] Release: release:{today}[] (`TBD`)
== New Features == New Features