Postline

Release checklist

On this page 3

Used for every release. Each step either passes or stops the release.

Before

  1. main is green on ReviewOS: lint, type check, tests, the compiled agent, the site build and the browser check. Look at the browser check's screenshots on the run, not just its status.

  2. Locally, on the commit being released:

    bun run typecheck:app
    
    ./buddy test
    

    The suite includes the v0.1.1 upgrade test; if the database changed, add a row for the new shape to it.

  3. Read the commits since the last tag. Anything that needs an owner to act (a new variable, a reconnect, a manual step) goes in docs/upgrading.md.

Cutting it

  1. After the owner approves the version, bump, tag and push it with the release script.

    bun run release:patch
    

    Use release:minor or release:major for the corresponding version change. Wait for ReviewOS CI to pass on the new tag's commit, then dispatch the release workflow with that tag. Substitute the approved version for vX.Y.Z.

    reviewos run release.yml --repo stacks/postline --ref main --input tag=vX.Y.Z --watch
    

    The workflow checks the tag's CI verdict, builds the DMG, and attaches it with checksums.txt and its Ed25519 signature, checksums.txt.sig. The runner uses the main key from its postline-desktop-updates Keychain service or the injected DESKTOP_UPDATE_PRIVATE_KEY. The key must match the published public key in config/desktop.ts.

After

  1. Download the DMG, checksums.txt, and checksums.txt.sig into one directory. Verify them with bun scripts/release-checksums.ts verify /path/to/Postline.dmg from a trusted Postline checkout. Install it on a Mac with an existing workspace. It opens, the data is there, and a scheduled post goes out with the window closed. Then run the smoke test.
  2. Open the download page and confirm its button names the new version.
  3. If anything is wrong, say so on the release before fixing forward with a new patch release; a published version is never replaced.