mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Add version placeholder to changelog template
This commit is contained in:
parent
c29a00457a
commit
240b6f7f8d
2 changed files with 2 additions and 2 deletions
|
@ -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}");
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue