Repository navigation
Commit 3498f3a
chore: release the three packages as one unit, starting with a beta (#208)
The previous config declared each package separately, so merging the release PR
would have created three tags and three draft GitHub Releases. Publishing any
one of them fires publish.yml, which publishes all three packages - so the first
release would have done the whole job and the other two would have failed with
"cannot publish over the previously published versions". The changelog was also
split three ways, with no single place describing the release.
These packages are versioned in lockstep and published together, so they are
one releasable unit. The root is now the only release: one tag, one GitHub
release, one changelog. The three package.json versions are updated through
extra-files, which is what keeps them in step - the workspace: protocol plus
pnpm pack already handles the ranges between them.
Two things fall out of this. The grouped PR title interpolates ${version} again,
because release-please takes it from the release at path "." and there was not
one before. And the tag is v<version>, matching every tag this repo has used
since v4.
Also switches to prerelease versioning, so the next release is 5.1.0-beta
published to the `next` dist-tag. Dropping `prerelease`, `prerelease-type` and
`versioning` from the package graduates it to a stable 5.1.0 on `latest`.
Verified by dry run against this branch:
✔ updating from 1.0.0 to 5.1.0-beta
Would open 1 pull requests
updates: packages/plugin-rest-cache/package.json,
packages/provider-rest-cache-memory/package.json,
packages/provider-rest-cache-redis/package.json,
CHANGELOG.md, .release-please-manifest.json
Co-authored-by: Claude <noreply@anthropic.com>1 parent b470da6 commit 3498f3a
2 files changed
Lines changed: 24 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
5 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 7 | | |
21 | 8 | | |
22 | 9 | | |
| |||
63 | 50 | | |
64 | 51 | | |
65 | 52 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
0 commit comments