Skip to content

Commit

Permalink
cargo-release config
Browse files Browse the repository at this point in the history
Fixes #213
  • Loading branch information
sourcefrog committed Jan 14, 2024
1 parent 51cce71 commit cf48041
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,10 @@ targets = [
[profile.dist]
inherits = "release"
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" = "CITATION.cff", search = "^version: .*", replace = "version: {{version}}", exactly = 1 },
]

0 comments on commit cf48041

Please sign in to comment.