Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 2.31 KB

RELEASING.md

File metadata and controls

28 lines (19 loc) · 2.31 KB

Releasing Notelet

Notelet follows the release standard for desktop apps: one version, a draft release built by CI, published by hand after the installer was tried.

Release a version

  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. scripts/bump-version.sh <version>, then npm install --package-lock-only. scripts/bump-version.sh --check must pass.
  3. In CHANGELOG.md, rename ## [Unreleased] to ## [<version>] - <YYYY-MM-DD>, write the bullets for users, and update the links at the bottom.
  4. Commit chore(release): v<version> through a pull request. After it merges, tag the merge commit on main: git tag -a v<version> -m "Notelet <version>" and git push origin v<version>.
  5. The tag runs .github/workflows/release.yml. It checks the tag against .version-bump.json, runs the tests, builds the signed installer and latest.json, and attaches SHA256SUMS.txt and build provenance to a draft release titled Notelet v<version>, with the notes taken from CHANGELOG.md.
  6. Download Notelet_<version>_x64-setup.exe from the draft and install it over the previous version. The tray shows the new version and the notes are still there.
  7. Publish: gh release edit v<version> --draft=false --latest.
  8. On a PC still on the previous version, run Check for updates from the tray. It offers the new version, installs it and restarts.

Keys

The updater key pair signs every update. The public key is in desktop/tauri.conf.json; the private key and its password are the repository secrets TAURI_SIGNING_PRIVATE_KEY and TAURI_SIGNING_PRIVATE_KEY_PASSWORD, with a backup outside GitHub. Losing the private key means no installed copy can update again.

Deliberately skipped

  • Authenticode signing: not set up yet, so Windows SmartScreen warns on first install. The README tells users how to get past it.
  • Discussions: off for this repository, so the issue chooser has no Discussions link.
  • Open logs folder in the tray's Help menu: Notelet writes no log files.

History

On 30 November 2026 the earlier releases (0.1.0 to 0.11.1) and their tags were deleted and numbering restarted at 0.1.0. Copies installed from those releases never see the new versions as updates and need one manual install.