From 240b6f7f8d512a70d5e01a1de12ffb5b6fb0f0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sun, 12 Feb 2023 10:55:49 +0200 Subject: [PATCH] Add version placeholder to changelog template --- xtask/src/publish.rs | 2 +- xtask/src/release/changelog.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xtask/src/publish.rs b/xtask/src/publish.rs index 79b5f3d2f6..cdb7d8fac8 100644 --- a/xtask/src/publish.rs +++ b/xtask/src/publish.rs @@ -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}"); diff --git a/xtask/src/release/changelog.rs b/xtask/src/release/changelog.rs index abf4d7a2e1..6753841484 100644 --- a/xtask/src/release/changelog.rs +++ b/xtask/src/release/changelog.rs @@ -69,7 +69,7 @@ pub(crate) fn get_changelog( :page-layout: post Commit: commit:{commit}[] + -Release: release:{today}[] +Release: release:{today}[] (`TBD`) == New Features