From 1be4c951bb4a64a29ab31f4841ae5c7649eb4667 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Sun, 4 Feb 2024 13:24:03 -0800 Subject: [PATCH] Add a blank between sections in NEWS.md on release --- Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d7230c72..197ed0a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -150,7 +150,12 @@ ci = ["github"] # The installers to generate for each app installers = ["shell", "powershell"] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] +targets = [ + "aarch64-apple-darwin", + "x86_64-apple-darwin", + "x86_64-unknown-linux-gnu", + "x86_64-pc-windows-msvc", +] # Publish jobs to run in CI pr-run-mode = "plan" # # Publish jobs to run in CI @@ -164,6 +169,6 @@ lto = "thin" # Config for [workspace.metadata.release] pre-release-replacements = [ - { "file" = "NEWS.md", search = "## Unreleased", replace = "$0\n## {{version}}", exactly = 1 }, + { "file" = "NEWS.md", search = "## Unreleased", replace = "$0\n\n## {{version}}", exactly = 1 }, { "file" = "CITATION.cff", search = "^version: .*", replace = "version: {{version}}", exactly = 1 }, ]