From f43de5c318db56db8b81b7c784b5272d361bf462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Eizedev?= <6794362+eizedev@users.noreply.github.com> Date: Thu, 26 Nov 2026 23:51:14 +0100 Subject: [PATCH 1/2] docs(releasing): announce a release round in its own discussion A discussion created with `gh release create --discussion-category` takes that release's title, so the 0.11.0 round was announced as "pivotkit-mcp 0.6.0". Create the round's discussion on its own, titled after pivotkit-core's version, with the GraphQL mutation createDiscussion. Co-Authored-By: Claude Opus 5.5 --- RELEASING.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index ba18c77e..05e98831 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -127,10 +127,19 @@ npm stage approve # or: npm stage reject - Find them with `gh pr list --state merged --search "merged:>=" --json number,author,files`. A package's release names the pull requests that touch it. Pull requests that touch no package (docs, CI, root tests) go into the round's last release, and the round's discussion names everyone. -- Start one discussion per release round, not one per tag: create the round's last GitHub release - with `--discussion-category "Announcements"`, for example - `gh release create pivotkit-mcp@x.y.z --verify-tag --notes-file notes.md --discussion-category "Announcements"`. - Its text sums up the round and links the release of every package in it. +- Announce the round in one discussion of its own, not on a package's release: a discussion made with + `gh release create --discussion-category` takes that package's title. After the round's last + release, create it in Announcements with the title `pivotkit `, for + example `pivotkit 0.11.0`. Its text sums up the round, links the release of every package in it + and ends with `## Contributors` for everyone in the round. `gh` has no command for it; use the + GraphQL API: + + ```sh + gh api graphql -f query='{repository(owner:"eizedev",name:"pivotkit"){id discussionCategories(first:20){nodes{id name}}}}' + gh api graphql -f query='mutation($r:ID!,$c:ID!,$t:String!,$b:String!){createDiscussion(input:{repositoryId:$r,categoryId:$c,title:$t,body:$b}){discussion{url}}}' \ + -f r= -f c= -f t="pivotkit x.y.z" -F b=@round.md + ``` + - A release also publishes the documentation site (`.github/workflows/docs.yml`). - The site build uses the newest release tag on main, whichever release started it. - To publish the site by hand: Actions, Docs site, Run workflow, input `tag`. From 529b5b88c12e325a5bc91cfcd551bdcfa880441e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Eizedev?= <6794362+eizedev@users.noreply.github.com> Date: Fri, 27 Nov 2026 00:09:27 +0100 Subject: [PATCH 2/2] docs(releasing): name no release version in the example Co-Authored-By: Claude Opus 5.5 --- RELEASING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 05e98831..1c7aee8f 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -129,8 +129,8 @@ npm stage approve # or: npm stage reject (docs, CI, root tests) go into the round's last release, and the round's discussion names everyone. - Announce the round in one discussion of its own, not on a package's release: a discussion made with `gh release create --discussion-category` takes that package's title. After the round's last - release, create it in Announcements with the title `pivotkit `, for - example `pivotkit 0.11.0`. Its text sums up the round, links the release of every package in it + release, create it in Announcements with the title `pivotkit `, such as + `pivotkit x.y.z`. Its text sums up the round, links the release of every package in it and ends with `## Contributors` for everyone in the round. `gh` has no command for it; use the GraphQL API: