Commit Graph
12 Commits
Author SHA1 Message Date
Bl0ck154 4f544eb46b test: declare UTF-8 for text fixture reads on Windows 2026-11-02 03:45:18 +02:00
debpalash 6f1f425e75 fix(release): a rerun finishes a release PR whose push or PR step failed
When the branch already exists (locally or on origin) the helper switches to
it, pushes, and opens the pull request only if none is open, instead of
failing on git switch -c or bumping twice.
2026-10-26 16:41:13 +05:30
debpalash c8c4038eae fix(release): open a release pull request instead of pushing main
main's ruleset rejects direct pushes, so the helper failed after bumping the
version. The first run now commits on release/<tag> and opens its pull
request; run it again after the merge and, with main already on that version,
it only tags and builds. A re-run no longer folds fresh fragments into a
second release commit.
2026-10-26 16:15:35 +05:30
debpalash 26572da837 test(changelog): isolate release tests from real fragments and cover the fold; add this PR's fragment (#3282) 2026-10-24 17:06:27 +05:30
velixio f3677437ad fix(release): tag a version that main already has instead of crashing
Bump commits stay on main after a tag is deleted or a build fails, so the next
attempt's bump changed nothing and git commit exited 1. Skip the commit and push
when there is nothing to commit and just tag.

Also drop the changelog sections of the never-released v0.5.7-beta.1/.2/.3 tags;
they were stale copies of [Unreleased] and the helper regenerates a fresh one.
2026-10-23 22:55:04 +05:30
velixio a173ae6426 fix(release): keep printed platform names apart from the credential-name table
CodeQL treated everything derived from SIGNING_SECRETS as sensitive and flagged
five clear-text-logging alerts on platform names. Print from a plain PLATFORMS
tuple and name the table SIGNING_ENV_NAMES; no values are ever read.
2026-10-23 22:18:31 +05:30
velixio 12ccf6e38b fix(release): say which platforms are unsigned before asking
The helper reported one vague 'signing secrets missing' for any gap. macOS is
fully configured here and only Windows lacks a certificate, so name each
platform's status and ask about exactly the gap.
2026-10-23 22:09:56 +05:30
Shimul Debnath 3e135a3b34 Merge branch 'main' into fix/beta-release-followups 2026-10-23 02:03:15 +05:30
velixio ee5ac6444c fix(release): restore the version files when a guard fails
A failing guard left the bumped files in the working tree. Roll them back so
an aborted release leaves nothing behind.
2026-10-23 01:57:14 +05:30
velixio 886c5340a6 feat(release): arrow-key menus in the release helper
Channel, draft/publish and the unsigned choice are up/down menus (j/k, Enter,
Esc cancels), stdlib only, with a typed fallback when there is no terminal.
2026-10-23 01:52:55 +05:30
velixio 78acca14d6 fix(release): ask first, suggest from tags, switch to main for you
The helper checked the branch before asking anything, and suggested the patch
after package.json even when package.json already named the unreleased version.
It now shows the last release, suggests the new tag from package.json and the
existing tags, and switches to a fast-forwarded main only after you confirm.
2026-10-23 01:35:58 +05:30
velixio 9bcab0022e feat(release): add an interactive release helper
Asks stable or beta, then draft or publish, and requires typing the tag to
confirm. Bumps the version files in lockstep, writes the changelog section,
runs the version guards, pushes the tag, and dispatches the publish.
2026-10-23 01:26:39 +05:30