Skip to content

Commit

Permalink
Add release.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
d-k-bo committed Oct 3, 2023
1 parent caee96d commit f037bea
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions release.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "## \\[Unreleased\\]"
replace = """## [Unreleased]\n\n## [{{version}}] - {{date}}"""
exactly = 1

[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "\\.\\.\\.HEAD"
replace = "...{{tag_name}}"
exactly = 1

[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "\\[Unreleased\\]: "
replace = """[Unreleased]: https://github.com/d-k-bo/mediathekviewweb-rs/compare/{{tag_name}}...HEAD\n[{{version}}]: """
exactly = 1

0 comments on commit f037bea

Please sign in to comment.