-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcog.toml
More file actions
45 lines (41 loc) · 1005 Bytes
/
cog.toml
File metadata and controls
45 lines (41 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from_latest_tag = false
ignore_merge_commits = false
ignore_fixup_commits = true
disable_changelog = false
disable_bump_commit = false
generate_mono_repository_global_tag = true
generate_mono_repository_package_tags = true
skip_ci = "[skip ci]"
skip_untracked = false
pre_bump_hooks = [
"cargo build --release",
"echo 'bumping from {{latest|0.0.0}} to {{version|0.0.1}}'",
"cargo set-version {{version|0.0.1}}",
"cargo check --release",
"git add :/Cargo.lock",
]
post_bump_hooks = [
# Re-tag release commit to ensure a signed tag
"git tag {{version_tag}} {{version_tag}}^{} --force --sign --annotate --message='Release {{version}}'",
]
tag_prefix = "v"
[git_hooks.commit-msg]
script = """
#!/bin/sh
set -e
cog verify --file $1
cog check
cargo fmt -v --all --check
cargo clippy
"""
[git_hooks.pre-push]
script = """
#!/bin/sh
set -e
cog check
"""
[changelog]
path = "CHANGELOG.md"
remote = "https://github.com/MRDGH2821/Coco-Bot"
owner = "MRDGH2821"
repository = "Coco-Bot"