Skip to content

Commit

Permalink
chore: improve version update in README
Browse files Browse the repository at this point in the history
  • Loading branch information
eirenik0 committed Jul 20, 2024
1 parent 93e2ee1 commit e684d4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ categories = ["web-programming::http-client"]
[package.metadata.release]
allow-branch = ["master"]
pre-release-replacements = [
{file="README.md", search="[{{prev_version}}]+", replace="{{version}}"} ,
{file="README.md", search="v[0-9]+\\.[0-9]+\\.[0-9]+", replace="v{{version}}"},
{file="README.md", search="v[0-9]+\\.[0-9]+\\.[0-9]+\\]\\(https://github\\.com/InnovateAndBuild/gst-client/tree/master\\)", replace="v{{version}}](https://github.com/InnovateAndBuild/gst-client/tree/v{{version}})"},
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="...HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
Expand Down

0 comments on commit e684d4b

Please sign in to comment.