Skip to content

release: binary distribution plan (Tauri bundles, crates.io) #11

Open

Description

@utof

Context

Now that tags are semver, we need a story for what a "release" actually ships.

Candidate artifacts

1. Tauri desktop bundles — `.msi` / `.dmg` / `.deb` / `.AppImage`

Use `tauri-apps/tauri-action` in a GH workflow triggered on `v*..` tag push. Builds for all 3 OS in matrix. Attaches binaries to the GH Release release-plz just created.

  • Required: code signing for macOS/Windows (deferred — unsigned binaries with Gatekeeper warning is v1-acceptable).
  • Required: Tauri icon set (already have `.ico` for Windows; need `.icns` for macOS, `.png` set for Linux).

2. CLI binaries — `perima` standalone

`perima watch` and `perima scan` are useful headless. Cross-compile via `cargo dist` or similar. Attach `.tar.gz` / `.zip` archives per-OS to the same GH Release.

3. crates.io — `perima-core`

`perima-core` could be published eventually if other projects want to consume the domain model. Needs:

  • Crate-level README (gitignored issue — carve exception like CHANGELOG.md?)
  • License headers
  • Explicit `[package]` metadata (description, keywords, categories)

Deferred until someone actually wants it. `publish = false` in release-plz for now.

4. Mobile / Obsidian shells

Not a v0.x concern. Phase 8+ problem.

Phasing

  • Phase 4 or 5: decide if we want Tauri bundle CI now. Trade-off: CI time (~15 min per release) vs user download. If we have no users yet, defer to phase 9.
  • Phase 9 (hardening): definitely. Must ship downloadable binaries before calling anything "v1-ready".

Acceptance

  • Decision on when to enable `tauri-action` matrix
  • Decision on whether to cross-compile CLI separately (same workflow vs separate)
  • Icon set for macOS/Linux added to repo
  • Release workflow validates the tag → bundle → GH Release chain end-to-end

Activity

  1. added
    type/feature
    on Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions