Commit f392855
Phase 6e: add publish-desktop job to release.yml (#20)
Adds a tauri-action-based matrix job that builds + uploads
unsigned desktop installers to the sqlrite-desktop-v<V> GitHub
Release alongside the existing publish-crate + publish-ffi jobs.
Matrix mirrors publish-ffi's OS/arch choices for consistency:
ubuntu-22.04 → AppImage + .deb (x86_64)
macos-latest → .dmg (aarch64)
windows-latest → .msi (x86_64)
ubuntu-22.04 (not ubuntu-latest) is deliberate: AppImage links
glibc at build time, so building on 22.04 (glibc 2.35) yields an
AppImage that runs on any distro with glibc ≥ 2.35 — building on
24.04 would produce an AppImage that won't launch on older
distros.
Wiring:
- tag-all → also pushes sqlrite-desktop-v<V>
- finalize's `needs` → extended with publish-desktop
- umbrella release body → includes 🖥️ Desktop link
- environment: release → same approval gate as the other
publish-* jobs (re-uses the single required-reviewer config
that already exists for crates.io)
Tauri configuration:
- bundle.active flipped from false → true so installers actually
get produced (this was the single-biggest gotcha)
- bundle.icon array extended to list the native-format icons for
each platform (.icns for macOS, .ico for Windows, size-specific
PNGs for Linux)
- category / shortDescription / longDescription added so .deb /
AppImage metadata has useful fields instead of defaults
Icons (64x64.png, 128x128.png, 128x128@2x.png, icon.icns,
icon.ico) are pre-generated via `npx tauri icon
src-tauri/icons/icon.png` and committed to the repo. That keeps
CI deterministic (no build-time network dependency on the Tauri
CLI version resolving differently over time) and saves ~10s per
matrix cell. Tradeoff: anyone swapping out icon.png has to re-run
`tauri icon` locally and commit the regenerated assets — PR review
catches this. The android/ and ios/ outputs + Windows-Store
Square* / StoreLogo variants tauri icon also generates are
discarded (not used by desktop-MVP, keeps repo lean).
Installers ship unsigned — Phase 6.1 wires up Apple Developer ID
+ Windows code-signing certs. The release body warns about the
"unidentified developer" / SmartScreen prompts and how to bypass
until signing lands.
Follow-ups:
- macOS universal (x86_64 + aarch64 via lipo) — needs both
Rust targets installed + a lipo step
- Linux aarch64 AppImage — adds one ubuntu-24.04-arm matrix cell
Also updates docs/roadmap.md with the Phase 6e done-marker + a
retrospective note on the v0.1.2 canary success.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 900012a commit f392855
8 files changed
Lines changed: 150 additions & 15 deletions
File tree
- .github/workflows
- desktop/src-tauri
- icons
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | | - | |
94 | | - | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
284 | 403 | | |
285 | 404 | | |
286 | 405 | | |
| |||
289 | 408 | | |
290 | 409 | | |
291 | 410 | | |
292 | | - | |
| 411 | + | |
293 | 412 | | |
294 | 413 | | |
295 | 414 | | |
| |||
309 | 428 | | |
310 | 429 | | |
311 | 430 | | |
| 431 | + | |
312 | 432 | | |
313 | | - | |
| 433 | + | |
314 | 434 | | |
315 | 435 | | |
316 | 436 | | |
| |||
Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
403 | 411 | | |
404 | 412 | | |
405 | 413 | | |
| |||
0 commit comments