Commit f41a129
authored
feat(publish): allow manual workflow_dispatch for MCP Registry publish (#1586)
## Summary
- Expands the gate on `publish-mcp-release-registry` so it also runs on
`workflow_dispatch`. Lets us retroactively publish a previously-released
version (or rerun a failed publish) from the Actions tab without
re-running the npm release.
- Bumps `server.json` to `0.0.72` to match `package.json`. The
validation step added in #1585 would otherwise fail the next release,
since `mark v0.0.72` (#1584) landed before #1585 — `server.json` was
committed at `0.0.71`.
## Mechanics
The job still `needs: publish-mcp-release-npm` so on a real `release`
event it correctly waits for npm to publish first. On
`workflow_dispatch`, the npm job is skipped (its own `if` is
`release`-only), and `if: always() && needs.*.result !=
'failure'/'cancelled'` lets the registry job run anyway.
## Follow-up
Once merged, this enables a manual one-shot of v0.0.72 to the registry
via the Actions tab.
Follow-up to #1585.
Reference #14771 parent 2ec36c1 commit f41a129
2 files changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
72 | 79 | | |
73 | 80 | | |
74 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments