Skip to content

docs: RELEASING.md with v0.4.0 release gotchas - #245

Merged
EVWorth merged 1 commit into
mainfrom
docs/release-process
Jul 21, 2026
Merged

EVWorth merged 1 commit into
mainfrom
docs/release-process

Conversation

@EVWorth

@EVWorth EVWorth commented Jul 21, 2026

Copy link
Copy Markdown
Owner

What

Capture today's release-cut lessons so the next person doesn't re-discover them. Five gotchas with symptoms, root cause, fix, and recovery paths.

Why

The v0.4.0 release took 3 attempts because of two silent failure modes in the release pipeline that weren't documented anywhere. This file fixes that.

What it documents

  1. [email protected] creates duplicate release candidates with strategy.matrix — parallel jobs race on draft creation. Symptom: two releases both tagged vX.Y.Z, one Draft with all assets and one published with ~2. Recovery: delete the broken, publish the correct via gh api PATCH. Long-term fix: split build/upload jobs (chore: handle tauri-action v1.0.0 race condition in release.yml #242).
  2. bundle.createUpdaterArtifacts: true requires TAURI_SIGNING_PRIVATE_KEY on the BUILD step — not just the manifest step. With createUpdaterArtifacts flipped on, the bundler signs during build. Workflow missed this; PR fix(ci): pass TAURI_SIGNING_PRIVATE_KEY to tauri build step #241 fixed.
  3. linux-rpm was silently absent from latest.json — bash case branch missing. chore: 0.4.0 release blockers — linux-rpm manifest, linux bundle deps, min_app_version #239 fixed.
  4. bundle.linux.{deb,rpm}.depends missing — fresh installs hit unsatisfiable deps. chore: 0.4.0 release blockers — linux-rpm manifest, linux bundle deps, min_app_version #239 fixed.
  5. Tag re-push recovery — if a release run produces a broken release, delete + re-push the tag (existing tags don't re-trigger workflows).

Why a separate doc rather than scattered

These are operational runbook items, not architectural docs. They belong with the release process (singular owner: whoever cuts releases), not in ARCHITECTURE.md (architecture: contributors forming mental models). Cross-linked to #242, #243, #244.

TL;DR

# Pre-tag validation
bash scripts/check-release-readiness.sh --strict 0.4.0

# Tag + push
git tag v<NEW_VERSION>
git push origin v<NEW_VERSION>

# Verify all platforms present
gh release view v<X.Y.Z> --json assets | jq '.assets[].name'
# Should show ~17 entries: AppImage, deb, rpm, dmg x2, msi, exe,
# portable exe, latest.json, plus their .sig companions.

Verification

Capture today's release-cut lessons so the next person doesn't
re-discover them. Five gotchas documented with symptoms, root
cause, fix, and recovery:

1. tauri-action v1.0.0 creates duplicate release candidates
   with strategy.matrix (parallel jobs racing on draft creation).
   Fix path: split build/upload jobs, or manually publish the
   correct Draft via gh api PATCH after the run.

2. `bundle.createUpdaterArtifacts: true` requires
   TAURI_SIGNING_PRIVATE_KEY on the BUILD step (not just the
   manifest step). Adding the flag without updating the workflow
   causes all 4 matrix builds to fail with 'no private key'.

3. `linux-rpm` platform key was silently absent from
   `latest.json` before #239. Bash case statement needed an
   explicit `*_x86_64.rpm` branch.

4. `bundle.linux.{deb,rpm}.depends` should be declared in
   `tauri.conf.json` for clean installs. Without these, fresh
   installs hit unsatisfiable-deps transaction failures.

5. Tag re-push recovery: if a release run produces a broken
   release, delete + re-push the tag (existing tags don't re-trigger).

Cross-linked to issues #242 (race condition), #243 (this doc),
#244 (Bazzite), and PRs #239 / #241.
@EVWorth
EVWorth merged commit f391a80 into main Jul 21, 2026
10 checks passed
@EVWorth
EVWorth deleted the docs/release-process branch July 21, 2026 02:04
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