Skip to content

Commit

Permalink
chore: Set up cargo-release to update the versions in the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
poljar committed Dec 4, 2024
1 parent 17812b6 commit b8bf847
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions release.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
owners = ["poljar", "github:matrix-org:rust"]

pre-release-commit-message = "chore: Release matrix-sdk version {{version}}"
pre-release-replacements = []
pre-release-hook = ["cargo", "xtask", "release", "changelog"]
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly=1},
]

sign-tag = true
tag-message = "Release {{crate_name}} version {{version}}"
Expand Down

0 comments on commit b8bf847

Please sign in to comment.