Documentation
[version]
current = "0.5.0"
regex = '''
  (?P<major>\d+)
  \.
  (?P<minor>\d+)
  \.
  (?P<patch>\d+)
'''

[git]
tag_template = "v{new_version}"
message_template = "Bump to {new_version}"

[[file]]
src = "Cargo.toml"
search = 'version = "{current_version}"'

[[before_push]]
name = "Check changelog"
cmd = "python tools/check-changelog.py {new_version}"

[[before_push]]
name = "Run tests"
cmd = "cargo test"

[[after_push]]
name = "Publish to crates.io"
cmd = "cargo publish"