Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 2.73 KB

RELEASING.md

File metadata and controls

26 lines (19 loc) · 2.73 KB

Releasing

Boost Focus Timer ships two products from one version and one tag: the Windows desktop app (Tauri) and the browser extension zip. Both are built by .github/workflows/release.yml when a vX.Y.Z tag is pushed.

Steps

  1. On an up-to-date main with a clean tree, pick the version from the changes since the last tag (SemVer; before 1.0.0 a breaking change bumps MINOR).
  2. On a branch: scripts/bump-version.sh X.Y.Z, then scripts/bump-version.sh --check. Refresh the lockfiles: npm install --package-lock-only, and set the boost-focus-timer entry in desktop/Cargo.lock (or run cargo update --workspace --offline).
  3. In CHANGELOG.md, rename ## [Unreleased] to ## [X.Y.Z] - YYYY-MM-DD, write the bullets for users, and update the links at the bottom.
  4. Commit as chore(release): vX.Y.Z, open a pull request and squash-merge it.
  5. On main: git tag -a vX.Y.Z -m "Boost Focus Timer X.Y.Z" and git push origin vX.Y.Z.
  6. The workflow checks the tag against .version-bump.json, creates a draft release with the notes from CHANGELOG.md plus .github/release-install.md, builds and signs the installer, attests it, uploads the extension zip and then SHA256SUMS.txt.
  7. Check the draft: gh release view vX.Y.Z lists the installer, its .sig, latest.json, the extension zip and SHA256SUMS.txt. Download the installer from the draft, install it over the previous version, and confirm the tray shows the new version and the old data is still there. Load the zip unpacked and check the version at the bottom of the menu.
  8. Publish: gh release edit vX.Y.Z --draft=false --latest.
  9. On a machine still on the previous version, run tray → Check for updates; it must offer, install and restart into the new version.

Keys

The updater's public key is in desktop/tauri.conf.json; the private key is the repository secret TAURI_SIGNING_PRIVATE_KEY (with TAURI_SIGNING_PRIVATE_KEY_PASSWORD), backed up outside GitHub. Losing it means every installed app has to be reinstalled by hand.

Not done, and why

  • Web stores (Chrome Web Store, Edge Add-ons, Firefox Add-ons): skipped for now by the owner's choice (2026-11-30). The extension ships as a zip on GitHub releases and is loaded unpacked. Adding stores means a submit job behind a release environment, store listing files in store/ and a PRIVACY.md.
  • Firefox build and sources zip: Firefox is not supported yet.
  • Authenticode signing: optional in the standard; the installer is unsigned and the README says how to get past SmartScreen.
  • Version history reset: on 2026-11-30 all releases v0.1.0–v0.8.1 were deleted and numbering restarted at 0.1.0. Desktop installs still on 0.8.x cannot auto-update to the lower numbers and need a manual install.