Skip to content

ci: build with the tauri CLI directly; hand-roll latest.json - #45

Merged
ApocDev merged 1 commit into
mainfrom
ci/explicit-build-latest-json
Jun 30, 2026
Merged

ci: build with the tauri CLI directly; hand-roll latest.json#45
ApocDev merged 1 commit into
mainfrom
ci/explicit-build-latest-json

Conversation

@ApocDev

@ApocDev ApocDev commented Jun 30, 2026

Copy link
Copy Markdown
Owner

The v0.2.0 build failed: tauri-action assumes pnpm (running pnpm [tauri build]), which isn't on PATH under our vp toolchain, so it died before building (surfacing as an 'unsettled top-level await').

Replace tauri-action with the proven explicit build:

  • ./node_modules/.bin/tauri build (shell: bash, resolves the bin on all OSes; this exact command built all four platforms green on the throwaway tag) with the signing key in env and createUpdaterArtifacts emitting a .sig per platform.
  • Upload bundles + updater artifacts + sigs to the release via gh.
  • New latest-json job merges each platform's {target: {signature, url}} fragment into one latest.json and attaches it.

macOS now builds app,dmg so the .app.tar.gz updater artifact exists; each matrix row carries its updater target key. After merge: dispatch tag=v0.2.0 to fill v0.2.0.

tauri-action assumes pnpm and invokes `pnpm tauri build`, which isn't on PATH under
our vp toolchain — the build died before starting. Replace it with the proven
explicit `tauri build` (signing via env, createUpdaterArtifacts emits the .sig),
upload the bundles + updater artifacts with gh, and add a latest-json job that
merges each platform's signature/URL fragment into one latest.json on the release.
@ApocDev
ApocDev merged commit 766ce2d into main Jun 30, 2026
1 of 2 checks passed
@ApocDev
ApocDev deleted the ci/explicit-build-latest-json branch June 30, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant