-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease.toml
20 lines (20 loc) · 1.12 KB
/
release.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pre-release-commit-message = "release: {{version}}"
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}"},
{file="CHANGELOG.md", search="TBD", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - TBD\n"},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/gourlaysama/girouette/compare/{{tag_name}}...HEAD"},
{file="README.md", search="-b v.+\n\\$", replace="-b v{{version}}\n$"},
{file="README.md", search="-V\ngirouette .+", replace="-V\ngirouette {{version}}"},
{file="README.md", search="latest release \\(.+\\)", replace="latest release ({{version}})"},
{file="doc/girouette.1.md", search="Version \\S+ \\|", replace="Version {{version}} |"},
]
post-release-commit-message = "release: bumping to {{next_version}}"
tag-message = "release: {{crate_name}} version {{version}}"
sign-commit = true
sign-tag = true
push = false
publish = false
dev-version = true
dev-version-ext = "dev"