Release OneTiny through release-please. Do not manually create tags or run gh release create.
-
Find the open release-please PR:
rtk gh pr list --state open --json number,title,headRefName,baseRefName,author,isDraft,mergeable,updatedAt,url --repo tcp404/OneTiny
Select the PR whose head branch starts with release-please--branches--main and whose base is main.
If none exists, inspect existing releases before stopping:
rtk gh release list --limit 10 --repo tcp404/OneTiny
-
Inspect the release PR:
rtk gh pr view <PR_NUMBER> --json number,title,state,body,headRefName,baseRefName,mergeable,url --repo tcp404/OneTiny
Confirm:
- title version matches the changelog body,
- body contains the intended release notes,
- PR is open, not draft, and mergeable.
-
Squash merge the release PR:
rtk gh pr merge <PR_NUMBER> --squash --delete-branch --repo tcp404/OneTiny
-
Watch the release workflow started by the merge:
rtk gh run list --limit 10 --repo tcp404/OneTiny
Wait until the new Release Please run completes successfully. Prefer low-noise polling over long repeated logs:
rtk gh run view <RUN_ID> --json status,conclusion,jobs --repo tcp404/OneTiny
If it fails, inspect the failed job logs and report the failure. Do not publish.
-
Verify the GitHub Release by tag:
rtk gh release view <TAG> --json tagName,name,isDraft,isPrerelease,publishedAt,assets,url --repo tcp404/OneTiny
Expected assets:
onetiny-checksums.txt
onetiny-cli-darwin-arm64.zip
onetiny-cli-darwin-x64.zip
onetiny-cli-linux-x64.zip
onetiny-cli-windows-x64.zip
onetiny-gui-darwin-arm64.zip
onetiny-gui-windows-x64.zip
-
For $release, stop here and report the draft release URL, tag, workflow status, and asset names.
-
For $release pub, publish the draft only after all expected assets are uploaded:
rtk gh release edit <TAG> --draft=false --repo tcp404/OneTiny
Verify isDraft: false afterward and report the public release URL.