generated from maemreyo/rust-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcog.toml
48 lines (42 loc) · 1.3 KB
/
cog.toml
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
46
47
48
ignore_merge_commits = false
branch_whitelist = ["main"]
# A list of command to run BEFORE creating a version.
# All change generated by those commands will be committed with the generated version commit.
# `{{version}}` will be interpretted as your target version
pre_bump_hooks = [
"cargo test",
"cargo clippy",
"cargo fmt --all",
"cargo set-version {{version}}",
"cargo build --release",
]
# A list of command to run AFTER creating a version.
# `{{version}}` will be interpretted as your target version
post_bump_hooks = [
"git push",
"git push origin {{version}}",
"cargo package",
"cargo publish"
]
# # A custom named bump profile, the inner post/pre bump hook will be used
# # instead of the main ones when running `cog bump --hook-profile example --auto`
# [bump_profiles.example]
# pre_bump_hooks = [
# "echo 'bumping from {{latest}} to {{version}} using a named profile'"
# ]
# post_bump_hooks = [
# "echo 'we are done'"
# ]
# An optional list of additional allowed commit type
# `cog commit {commit_type}` commit command will be generated at runtime
[commit_types]
[changelog]
path = "CHANGELOG.md"
template = "remote"
remote = "github.com"
repository = "dev-works-logger"
owner = "maemreyo"
authors = [
{ signature = "Maemreyo", username = "maemreyo" }
]
[bump_profiles]