[version] current = "0.1.0" # Example of a semver regexp. # Make sure this matches current_version before # using tbump regex = ''' (?P\d+) \. (?P\d+) \. (?P\d+) ''' [git] message_template = "Bump to {new_version}" tag_template = "v{new_version}" [[file]] src = "Cargo.lock" [[hook]] name = "check changelog" cmd = "grep -q {current_version} Changelog.md" [[hook]] name = "publish to crates.io" cmd = "cargo publish" after_push = true