obws/release.toml
Dominik Nakamura c4d319cca5
Add a changelog
2021-01-11 17:42:17 +09:00

27 lines
719 B
TOML

sign-commit = true
sign-tag = true
pre-release-commit-message = "Bump up version number to {{version}}"
tag-message = "Version {{version}}"
no-dev-version = true
[[pre-release-replacements]]
file = "README.md"
search = 'obws = "[a-z0-9\.-]+"'
replace = 'obws = "{{version}}"'
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = '##\s*\[Unreleased\]\s*-\s*ReleaseDate'
replace = '''
## [Unreleased] - ReleaseDate
## [{{version}}] - {{date}}'''
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = '\[Unreleased\]:.+HEAD'
replace = '''
[Unreleased]: https://github.com/dnaka91/obws/compare/v{{version}}...HEAD
[{{version}}]: https://github.com/dnaka91/obws/compare/v{{prev_version}}...v{{version}}'''