-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcog.toml
More file actions
102 lines (93 loc) · 3.81 KB
/
Copy pathcog.toml
File metadata and controls
102 lines (93 loc) · 3.81 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# ==============================================================================
# Cocogitto Configuration for email-mcp
# ==============================================================================
# Docs: https://docs.cocogitto.io/reference/config.html
#
# Quick Commands:
# cog bump --auto # Auto-bump based on commit types
# cog bump --minor # Manual minor bump
# cog bump --patch # Manual patch bump
# cog check # Verify commit history
# cog log # View conventional commit log
# cog changelog # Generate changelog
# ==============================================================================
# ------------------------------------------------------------------------------
# Global Settings
# ------------------------------------------------------------------------------
from_latest_tag = true
ignore_merge_commits = true
ignore_fixup_commits = true
disable_changelog = false
disable_bump_commit = false
branch_whitelist = ["main", "develop", "release/**", "hotfix/**"]
skip_ci = "[skip ci]"
skip_untracked = false
tag_prefix = "v"
pre_bump_hooks = [
"pnpm check",
"pnpm build",
]
post_bump_hooks = [
"npm pkg set version={{version}}",
"git add package.json",
"jq --arg v {{version}} '.version = $v | .packages[0].version = $v' server.json > server.tmp && mv server.tmp server.json",
"git add server.json",
"git push origin HEAD",
"git push origin {{version}}",
]
# ------------------------------------------------------------------------------
# Git Hooks
# ------------------------------------------------------------------------------
# Git hooks are managed by Lefthook (see lefthook.yml).
# Do NOT run `cog install-hook` — Lefthook handles commit-msg and pre-push.
# ------------------------------------------------------------------------------
# Commit Types
# ------------------------------------------------------------------------------
[commit_types]
feat = { changelog_title = "✨ Features" }
fix = { changelog_title = "🐛 Bug Fixes" }
perf = { changelog_title = "⚡ Performance" }
refactor = { changelog_title = "♻️ Refactoring" }
docs = { changelog_title = "📚 Documentation" }
build = { changelog_title = "Build", hidden = true }
ci = { changelog_title = "CI", hidden = true }
test = { changelog_title = "Tests", hidden = true }
style = { changelog_title = "Styles", hidden = true }
chore = { changelog_title = "Chores", hidden = true }
revert = { changelog_title = "⏪ Reverts" }
# ------------------------------------------------------------------------------
# Changelog Configuration
# ------------------------------------------------------------------------------
[changelog]
path = "CHANGELOG.md"
template = "remote"
remote = "github.com"
owner = "codefuturist"
repository = "email-mcp"
authors = [
{ signature = "58808821+codefuturist@users.noreply.github.com", username = "codefuturist" },
]
# ------------------------------------------------------------------------------
# Bump Profiles
# ------------------------------------------------------------------------------
[bump_profiles]
[bump_profiles.release]
pre_bump_hooks = ["pnpm check", "pnpm build"]
post_bump_hooks = [
"npm pkg set version={{version}}",
"git add package.json",
"jq --arg v {{version}} '.version = $v | .packages[0].version = $v' server.json > server.tmp && mv server.tmp server.json",
"git add server.json",
"git push origin HEAD",
"git push origin {{version}}",
]
[bump_profiles.hotfix]
pre_bump_hooks = ["pnpm check"]
post_bump_hooks = [
"npm pkg set version={{version}}",
"git add package.json",
"jq --arg v {{version}} '.version = $v | .packages[0].version = $v' server.json > server.tmp && mv server.tmp server.json",
"git add server.json",
"git push origin HEAD",
"git push origin {{version}}",
]