Skip to content

Commit 1768b29

Browse files
committed
Docs: Add troubleshooting section to releasing doc
1 parent d3095cb commit 1768b29

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

docs/guides/releasing.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,37 @@ git push origin main --tags # push again
4949
### Draft release left on GitHub after failed build
5050

5151
Go to GitHub → Releases → delete the draft manually before retrying.
52+
53+
### Apple notarization is slow (builds time out at 30 min)
54+
55+
Apple's notarization can take anywhere from minutes to 20+ hours. If the build job times out waiting
56+
for notarization, the publish job won't run — no broken state.
57+
58+
To check notarization status manually:
59+
60+
```bash
61+
xcrun notarytool info <SUBMISSION_ID> \
62+
--key ./AuthKey_Apple_Cmdr.p8 \
63+
--key-id C9VUN857DD \
64+
--issuer 2c362f71-0680-4ec7-a74f-c62be656eeb7
65+
```
66+
67+
The submission ID is logged in the build output before the timeout. Once the status shows `Accepted`,
68+
re-run the failed job(s) in GitHub Actions — tauri-action will re-submit, Apple will return `Accepted`
69+
immediately (same binary hash), and the build will complete in minutes.
70+
71+
Use "Re-run failed jobs" (not "Re-run all jobs") to avoid rebuilding architectures that already
72+
succeeded.
73+
74+
### Publish job failed but builds succeeded
75+
76+
The publish job downloads signatures from the release, generates `latest.json`, updates the release
77+
body, commits to main, and triggers a website deploy. If it fails:
78+
79+
- **Missing signatures**: check that all 3 build jobs uploaded their `.sig` files. The publish job
80+
validates this upfront and fails fast with a clear message.
81+
- **Git push failed**: another commit was pushed to main between checkout and push. Re-run the
82+
publish job — it does `git pull --rebase` to handle this, but if the rebase itself conflicts
83+
(someone else edited `latest.json`), it needs manual resolution.
84+
- **Website deploy webhook failed**: re-trigger manually by pushing any commit to main, or SSH into
85+
the server and run the deploy script.

0 commit comments

Comments
 (0)