Commit 4431deb
fix(release): write release body to file and include GHCR package link
Two issues with the 0.1.0 GitHub Releases that just shipped:
1. The cliff-generated release notes never made it into the
release body. The notes were captured via a heredoc into
$GITHUB_OUTPUT and then passed through `needs.release-*.outputs`,
but the multi-line interpolation came out empty (probably the
rerun-after-failed-job dance lost the upstream job's outputs).
2. The release body just printed the image/registry tag as text.
Now that the package is linked to the repo, we should link to
the GHCR package page so readers can browse versions.
Switch to file-based bodies:
- `release-server` writes `release-body.md` (heading + clickable
GHCR package link + cliff notes) and uploads it as part of
`server-artifacts`.
- `release-helm` does the same to `infra/helm/hive/release-body.md`,
also including a `helm install` snippet.
- `commit-and-release` downloads the artifacts and points
`softprops/action-gh-release@v2` at the files via `body_path:`
instead of the multi-line `body:` template. File-based bodies
don't suffer from output-interpolation losses.
Drop the now-unused `outputs.release-notes` from `release-server`
and `release-helm` since the data flows via artifacts.
Also tighten AGENTS.md: PR titles and commits use Conventional
Commits *with an explicit scope naming the domain* — `feat(auth):`,
`refactor(helm):`, etc. The scope is what cliff reads to bucket
commits into the right release notes, so omitting it undermines
the per-component changelog.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 76cdebf commit 4431deb
2 files changed
Lines changed: 51 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | 153 | | |
156 | 154 | | |
157 | 155 | | |
| |||
161 | 159 | | |
162 | 160 | | |
163 | 161 | | |
164 | | - | |
165 | | - | |
| 162 | + | |
166 | 163 | | |
167 | 164 | | |
| 165 | + | |
168 | 166 | | |
169 | 167 | | |
170 | 168 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
180 | 186 | | |
181 | 187 | | |
182 | 188 | | |
| |||
211 | 217 | | |
212 | 218 | | |
213 | 219 | | |
214 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
215 | 223 | | |
216 | 224 | | |
217 | 225 | | |
| |||
220 | 228 | | |
221 | 229 | | |
222 | 230 | | |
223 | | - | |
224 | | - | |
225 | 231 | | |
226 | 232 | | |
227 | 233 | | |
| |||
231 | 237 | | |
232 | 238 | | |
233 | 239 | | |
234 | | - | |
235 | | - | |
| 240 | + | |
236 | 241 | | |
237 | 242 | | |
| 243 | + | |
238 | 244 | | |
239 | 245 | | |
240 | 246 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
250 | 270 | | |
251 | 271 | | |
252 | 272 | | |
| |||
281 | 301 | | |
282 | 302 | | |
283 | 303 | | |
| 304 | + | |
284 | 305 | | |
285 | 306 | | |
286 | 307 | | |
| |||
330 | 351 | | |
331 | 352 | | |
332 | 353 | | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
| 354 | + | |
337 | 355 | | |
338 | 356 | | |
339 | 357 | | |
| |||
342 | 360 | | |
343 | 361 | | |
344 | 362 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
| 363 | + | |
349 | 364 | | |
350 | 365 | | |
351 | 366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments