Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"changelog": ["@changesets/changelog-github", { "repo": "MCP-Mux/mcp-mux" }],
"commit": false,
"fixed": [],
"linked": [],
Expand Down
9 changes: 9 additions & 0 deletions .changeset/fix-release-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@mcpmux/desktop": patch
---

Fix release workflow to properly create GitHub releases with changelog and binaries. The workflow now:
- Creates GitHub releases with proper release notes from changesets
- Uploads MSI, DEB, DMG, and AppImage packages to the release
- Generates updater JSON with signatures for auto-updates
- Uses @changesets/changelog-github for better changelog formatting with PR/author links
16 changes: 13 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
outputs:
published: ${{ steps.changesets.outputs.published }}
publishedPackages: ${{ steps.changesets.outputs.publishedPackages }}
version: ${{ steps.get-version.outputs.version }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -44,9 +45,18 @@ jobs:
title: 'chore: version packages'
commit: 'chore: version packages'
version: pnpm changeset version
publish: pnpm run publish
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get version from package.json
id: get-version
if: steps.changesets.outputs.published == 'true'
run: |
VERSION=$(node -p "require('./apps/desktop/package.json').version")
echo "version=$VERSION" >> $GITHUB_OUTPUT

# ─────────────────────────────────────────────────────────────
# Build and Release: Triggered when changesets publishes
# ─────────────────────────────────────────────────────────────
Expand Down Expand Up @@ -136,9 +146,9 @@ jobs:
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
with:
tagName: v__VERSION__
releaseName: 'McpMux v__VERSION__'
releaseBody: 'See the changelog for details.'
tagName: v${{ needs.changesets.outputs.version }}
releaseName: 'McpMux v${{ needs.changesets.outputs.version }}'
releaseBody: ''
releaseDraft: false
prerelease: false
updaterJsonKeepUniversal: true
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"endpoints": [
"https://github.com/MCP-Mux/mcp-mux/releases/latest/download/latest.json"
],
"pubkey": ""
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDJDRTAxQ0Y3NDI0RjkwQTkKUldTcGtFOUM5eHpnTEFYb0ZnSjNXbURvSVhYUVdwbDFROW1iMTBPWGNDZ2VlVUNQdGpBQ3BCczYK"
}
},
"app": {
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "pnpm --filter @mcpmux/desktop build",
"changeset": "changeset",
"version": "changeset version",
"publish": "echo 'Publishing handled by Tauri in build-release job'",
"release:key": "pnpm --filter @mcpmux/desktop tauri signer generate -w ~/.tauri/mcpmux.key",
"test": "pnpm test:rust && pnpm test:ts",
"test:rust": "cargo nextest run --workspace",
Expand All @@ -33,6 +34,7 @@
"clean": "pnpm -r clean && cargo clean"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.0",
"@modelcontextprotocol/sdk": "^1.10.0",
"@playwright/test": "^1.50.0",
Expand Down
66 changes: 66 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.