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.
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.
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.
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.
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.
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.
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.
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.