Skip to content

Commit

Permalink
Add a blank between sections in NEWS.md on release
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Feb 4, 2024
1 parent 8517801 commit 1be4c95
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -164,6 +169,6 @@ lto = "thin"
# Config for <https://github.com/crate-ci/cargo-release/blob/master/docs/reference.md>
[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 },
]

0 comments on commit 1be4c95

Please sign in to comment.