mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
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:
@@ -13,7 +13,7 @@ pub(crate) fn run(self, sh: &Shell) -> Result<()> {
|
||||
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}");
|
||||
|
||||
@@ -69,7 +69,7 @@ pub(crate) fn get_changelog(
|
||||
:page-layout: post
|
||||
|
||||
Commit: commit:{commit}[] +
|
||||
Release: release:{today}[]
|
||||
Release: release:{today}[] (`TBD`)
|
||||
|
||||
== New Features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user