-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathrelease.toml
14 lines (14 loc) · 1.03 KB
/
release.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pre-release-commit-message = "release {{crate_name}} {{version}}"
tag = false
push = false
publish = false
enable-features = ["all", "twitch_oauth2/all", "unsupported"]
consolidate-commits = false
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="v{{version}}", prerelease=false},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", prerelease=false},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate\n\n[Commits](https://github.com/twitch-rs/twitch_api/compare/v{{version}}...Unreleased)", prerelease=false},
{file="README.md", search="twitch_api/[a-z0-9\\.-]+/twitch_api", replace="{{crate_name}}/{{version}}/{{crate_name}}", prerelease=true},
{file="src/lib.rs", search="https://docs.rs/twitch_api/[a-z0-9\\.-]+", replace="https://docs.rs/{{crate_name}}/{{version}}", prerelease=true},
{file="Cargo.toml", search="https://docs.rs/twitch_api/[a-z0-9\\.-]+", replace="https://docs.rs/{{crate_name}}/{{version}}", prerelease=true},
]