Skip to content

Commit c26497f

Browse files
author
Mohammod Al Amin Ashik
committed
fix(ci): set workspace release=false to skip cargo package on internal crates
1 parent 827c0ea commit c26497f

1 file changed

Lines changed: 23 additions & 45 deletions

File tree

release-plz.toml

Lines changed: 23 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,20 @@
22
# https://release-plz.dev/docs/config
33

44
[workspace]
5+
# IMPORTANT: Disable release for all packages by default
6+
# Only the mcpmux package will be released (enabled below)
7+
release = false
8+
59
# Use git tags for version detection (not crates.io) - we're a desktop app
610
git_only = true
711

8-
# Enable GitHub releases
12+
# Don't publish any crates to crates.io
13+
publish = false
14+
15+
# Don't run cargo semver-checks (not a library)
16+
semver_check = false
17+
18+
# Enable GitHub releases (will be enabled for mcpmux package)
919
git_release_enable = true
1020
git_tag_enable = true
1121

@@ -19,15 +29,6 @@ pr_name = "chore: release v{{ version }}"
1929
pr_labels = ["release", "automated"]
2030
pr_draft = false
2131

22-
# Don't run cargo semver-checks (not a library)
23-
semver_check = false
24-
25-
# Don't publish to crates.io
26-
publish = false
27-
28-
# Skip cargo package verification (internal deps don't have version specs)
29-
publish_no_verify = true
30-
3132
[changelog]
3233
header = """# Changelog
3334
@@ -76,44 +77,21 @@ commit_preprocessors = [
7677
{ pattern = "\\(#([0-9]+)\\)", replace = "([#${1}](https://github.com/MCP-Mux/mcp-mux/pull/${1}))" },
7778
]
7879

79-
# Only release the main desktop app, not the library crates
80+
# ─────────────────────────────────────────────────────────────────────────────
81+
# PACKAGE CONFIGURATION
82+
# ─────────────────────────────────────────────────────────────────────────────
83+
# Only the mcpmux desktop app is released. All other crates inherit
84+
# release = false from [workspace] and are completely ignored by release-plz.
85+
8086
[[package]]
8187
name = "mcpmux"
82-
# Path relative to workspace root (not package root)
83-
changelog_path = "CHANGELOG.md"
88+
# Enable release for this package (overrides workspace default of false)
8489
release = true
85-
git_only = true
86-
publish = false
90+
# Path relative to workspace root
91+
changelog_path = "CHANGELOG.md"
8792
# Include commits from internal crates in the main changelog
8893
changelog_include = ["mcpmux-core", "mcpmux-gateway", "mcpmux-mcp", "mcpmux-storage"]
8994

90-
# Disable release for library crates (they're internal, not published)
91-
[[package]]
92-
name = "mcpmux-core"
93-
release = false
94-
git_only = true
95-
publish = false
96-
97-
[[package]]
98-
name = "mcpmux-gateway"
99-
release = false
100-
git_only = true
101-
publish = false
102-
103-
[[package]]
104-
name = "mcpmux-mcp"
105-
release = false
106-
git_only = true
107-
publish = false
108-
109-
[[package]]
110-
name = "mcpmux-storage"
111-
release = false
112-
git_only = true
113-
publish = false
114-
115-
[[package]]
116-
name = "tests"
117-
release = false
118-
git_only = true
119-
publish = false
95+
# Note: Library crates (mcpmux-core, mcpmux-gateway, mcpmux-mcp, mcpmux-storage, tests)
96+
# inherit release = false from [workspace], so they are not processed at all.
97+
# No need to explicitly list them here.

0 commit comments

Comments
 (0)