Skip to content

Releases

matthew edited this page Sep 13, 2026 · 2 revisions

Releases

Versioning

Studio uses calendar versioning, YYYY.MINOR.PATCH, JetBrains-style:

  • 2026.1.0 — the first release of 2026; 2026.2.0 the next feature release.
  • 2026.1.1 — a fix to 2026.1.0.
  • 2026.2.0-rc.1 — a release candidate; published as a pre-release.
  • The minor resets each January.

The version lives in package.json and is the only place it is written. Two other numbers travel with every release and are independent of it: the plugin API version (PLUGIN_API_VERSION) and the curated catalogue revision — see Plugins. Release notes state all three.

Why CalVer rather than SemVer: the app's version has two jobs — identify a build and sort correctly — and the one place a compatibility promise matters, the plugin contract, carries its own semver. A year-based version also makes no claim about stability that a 1.0 would. The reasoning is recorded in Decision: governance and versioning.

Cutting a release

Releases are built from the release branch and only a green build produces a tag.

  1. Bump the version on main. A PR titled chore(release): 2026.1.0 changing package.json version, and adding the release's entry to src/shared/api/release-highlights.ts — the handful of headlines the setup wizard shows on upgrade; a release without one shows nothing. Merge it like any other PR.
  2. Open a PR from main to release. CI runs on it as on any PR. Merge it (admins only).
  3. The Release workflow runs on the push to release. It builds every target — macOS arm64 and x64 (dmg + zip), Windows x64 (NSIS installer), Linux x64 (AppImage) — and only when all of them succeed does it create the tag v2026.1.0 at that commit and a draft GitHub Release holding the installers, GitHub's generated notes (grouped by PR label), the three version numbers and the unsigned-binary notice. A version whose tag already exists fails the run instead of overwriting.
  4. Read the draft, then publish it. Edit the notes if the generated ones need a summary.

A failed build leaves nothing behind: no tag, no release. Fix on main, PR to release again.

Prerequisites

  • The repository secret RELEASE_TOKEN: a fine-grained personal access token of a repository admin with Contents: read and write. The v* tag ruleset lets only admins create release tags, and the workflow's own token is not one.
  • Builds are unsigned. Signing (an Apple Developer ID and a Windows code-signing certificate) is a later step; when it arrives the workflow gains the signing secrets and the notice goes away.

Plugin releases

Harness plugins are versioned and released separately, on tags of the form plugin-<name>-v<version> — see Plugins › Releasing a harness plugin.

Hotfixes

Pre-1.0, only the latest release receives fixes: land the fix on main, bump the patch, release. If main has moved on in ways a hotfix must not carry, branch from the release tag, cherry-pick, and PR that branch to release — the pipeline is the same.

Clone this wiki locally