BotDiscord/cog.toml

29 lines
648 B
TOML

pre_bump_hooks = [
"echo {{version}}",
"cargo audit && cargo bump {{version}} && git add Cargo.toml && git commit -m \"chore(version): set cargo version to {{version}}\"",
]
post_bump_hooks = ["git push", "git push origin {{version}}"]
[changelog]
path = "CHANGELOG.md"
template = "remote"
remote = "git.weebo.fr"
repository = "BotDiscord"
owner = "sandbox"
authors = [
{ username = "batleforc", signature = "Max" },
{ username = "max", signature = "Max" },
]
[bump_profiles]
[packages]
[git_hooks.commit-msg]
script = """#!/bin/sh
set -e
cargo fmt -v --all --check
cargo clippy
gitleaks protect --verbose --redact --staged
"""