Skip to content

chore: one-command release script#11

Merged
julia-kafarska merged 1 commit into
mainfrom
chore-release-script
Jun 1, 2026
Merged

chore: one-command release script#11
julia-kafarska merged 1 commit into
mainfrom
chore-release-script

Conversation

@julia-kafarska
Copy link
Copy Markdown
Member

Adds scripts/release.mjs so a release is a single command:

npm run release 1.0.8      # or patch / minor / major

It runs the whole pipeline, in order:

  1. Preflightgh authed, clean main matching origin.
  2. Bump → PR → CI → squash-merge (satisfies branch protection).
  3. Tag the merged commit → triggers the Release build.
  4. Wait for the macOS/Windows/Linux builds + draft to finish.
  5. Publish (un-draft).
  6. Notarize via scripts/notarize-release.mjs — the last step, strictly after builds are done and the release is published. Re-uploads stapled DMGs in place.

Prereqs: gh auth, the out-loud-notary keychain profile, and the tag ruleset must allow tag creation (else the tag step fails with a clear recovery message). Docs updated.

Add scripts/release.mjs (npm run release <version>): bump → PR → wait CI →
squash-merge → tag → wait build → notarize → publish, in a single command.
Update releasing docs.
@julia-kafarska julia-kafarska merged commit 084db1d into main Jun 1, 2026
1 check passed
@julia-kafarska julia-kafarska deleted the chore-release-script branch June 1, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant