Commit 4e77bae
committed
ci(release): let release-please bump server.json's version itself (#9874)
check-server-manifest requires server.json's version and packages[0].version to
equal @loopover/mcp's, and release-please bumped the package without touching
server.json -- so every generated release PR failed CI until someone synced the file
by hand.
A manual fix does not hold: #9780 was fixed that way and release-please regenerated
the branch and discarded the commit, putting server.json back to 3.15.2. That is the
whole reason this belongs in the config rather than in a script someone runs.
The leading slash is load-bearing. release-please joins an extra-file path to the
package directory UNLESS it starts with "/" (strategies/base.js addPath), so plain
"server.json" would have resolved to packages/loopover-mcp/server.json and silently
updated nothing. Verified against the installed release-please 17.10.4: "/server.json"
resolves to the repo root, and the GenericJson updater rewrites both jsonpaths in the
real file.1 parent 8e2d51d commit 4e77bae
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
0 commit comments