-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathrelease-plz.toml
More file actions
107 lines (86 loc) · 3.15 KB
/
Copy pathrelease-plz.toml
File metadata and controls
107 lines (86 loc) · 3.15 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
103
104
105
106
107
# release-plz configuration for McpMux Tauri Desktop App
# https://release-plz.dev/docs/config
[workspace]
# Use git tags for version detection (not crates.io) - we're a desktop app
git_only = true
# Enable GitHub releases
git_release_enable = true
git_tag_enable = true
# Tag and release naming
git_tag_name = "v{{ version }}"
git_release_name = "McpMux v{{ version }}"
# Release PR configuration
release_always = false # Only release when PR is merged
pr_name = "chore: release v{{ version }}"
pr_labels = ["release", "automated"]
pr_draft = false
# Don't run cargo semver-checks (not a library)
semver_check = false
# Don't publish to crates.io
publish = false
# Skip cargo package verification (internal deps don't have version specs)
publish_no_verify = true
[changelog]
header = """# Changelog
All notable changes to McpMux will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
"""
body = """
{% if version %}
## [{{ version }}]{% if release_link %}({{ release_link }}){% endif %} - {{ timestamp | date(format="%Y-%m-%d") }}
{% endif %}
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}{% if commit.breaking %}**BREAKING:** {% endif %}{{ commit.message }}
{%- if commit.links %} ({% for link in commit.links %}[{{ link.text }}]({{ link.href }}){% endfor %}){% endif %}
{% endfor %}
{% endfor %}
"""
trim = true
protect_breaking_commits = true
# Conventional commit parsing - ORDER MATTERS! Specific patterns must come before generic ones
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactoring" },
{ message = "^docs", group = "Documentation" },
{ message = "^style", group = "Styling" },
{ message = "^test", group = "Testing" },
{ message = "^chore\\(deps\\)", group = "Dependencies" },
{ message = "^chore\\(release\\)", skip = true },
{ message = "^ci", group = "CI/CD" },
{ message = "^build", group = "Build" },
{ message = "^chore", group = "Chores" },
{ message = "^.*", group = "Other" },
]
# Convert issue/PR references to links
commit_preprocessors = [
{ pattern = "\\(#([0-9]+)\\)", replace = "([#${1}](https://github.com/MCP-Mux/mcp-mux/pull/${1}))" },
]
# Only release the main desktop app, not the library crates
[[package]]
name = "mcpmux"
# Path relative to workspace root (not package root)
changelog_path = "CHANGELOG.md"
release = true
# Include commits from internal crates in the main changelog
changelog_include = ["mcpmux-core", "mcpmux-gateway", "mcpmux-mcp", "mcpmux-storage"]
# Disable release for library crates (they're internal, not published)
[[package]]
name = "mcpmux-core"
release = false
[[package]]
name = "mcpmux-gateway"
release = false
[[package]]
name = "mcpmux-mcp"
release = false
[[package]]
name = "mcpmux-storage"
release = false
[[package]]
name = "tests"
release = false