Repository navigation
docs: RELEASING.md with v0.4.0 release gotchas - #245
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
[email protected]creates duplicate release candidates withstrategy.matrix— parallel jobs race on draft creation. Symptom: two releases both taggedvX.Y.Z, one Draft with all assets and one published with ~2. Recovery: delete the broken, publish the correct viagh api PATCH. Long-term fix: splitbuild/uploadjobs (chore: handle tauri-action v1.0.0 race condition in release.yml #242).bundle.createUpdaterArtifacts: truerequires TAURI_SIGNING_PRIVATE_KEY on the BUILD step — not just the manifest step. WithcreateUpdaterArtifactsflipped on, the bundler signs during build. Workflow missed this; PR fix(ci): pass TAURI_SIGNING_PRIVATE_KEY to tauri build step #241 fixed.linux-rpmwas silently absent fromlatest.json— bash case branch missing. chore: 0.4.0 release blockers — linux-rpm manifest, linux bundle deps, min_app_version #239 fixed.bundle.linux.{deb,rpm}.dependsmissing — fresh installs hit unsatisfiable deps. chore: 0.4.0 release blockers — linux-rpm manifest, linux bundle deps, min_app_version #239 fixed.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
Verification
docs/RELEASING.md(200 lines, single file)