M9: Release tooling (packages, Flatpak, signed updater, app ID) #25
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mett/cushion!25
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/m9-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Release tooling for 0.1.0, as decided: built locally, published as Forgejo releases, signed auto-updater, app ID
dev.m3tt.Cushion.Part of #9. The release itself still needs steps only you can do (below); close #9 once 0.1.0 is out.
What's in it
dev.m3tt.Cushion: the olddev.cushion.appfolders (config, data, cache) are moved at start, before Tauri opens them, and the keyring login moves on first read. Download paths are stored relative, so they stay valid.tauri-plugin-updater2.14): checks a signed feed at start (can be turned off) and offers "Install and restart"; Settings → Updates has the version and "Check now". It works for .deb and .rpm (installed throughpkexec, so it asks for a password) and NSIS. The Flatpak shows a pointer to the releases page instead.libmpv2), .rpm (mpv-libs), Flatpak bundle (GNOME 51, which still ships webkit2gtk-4.1; libmpv built in the manifest with libass and libplacebo, audio only; the Ayatana tray from flathub/shared-modules) and NSIS withlibmpv-2.dll.scripts/release.sh(Linux, with--dry-run) andscripts/release-windows.ps1, plusdocs/release.mdandrelease-notes/v0.1.0.md.https://git.m3tt.dev/mett/cushion/releases/download/latest/latest.json. Each release carries its ownlatest.json; Forgejo 16 (git.m3tt.dev runs 16.0.7) resolveslatestto the newest non-pre-release.plugins.updater.pubkeyholds your key (minisign8D2A645FAA3F5AD1).ytdloption unconditionally; a libmpv built without Lua (the Flatpak's) refused to start with that.1fr) grew with the sidebar; now it isminmax(0, 1fr)and the sidebar scrolls. Checked at 900×600.~/.cache/cushion-flatpak, not in the repo: its build folder holds bind mounts of/proc, which ran Vite's file watcher out of inotify watches (blank dev window). Vite ignorespackaging/anddist/too.Before the first release
Done by you already: key generated, repository public,
libayatana-appindicator-gtk3-develinstalled. After merging:scripts/release.shon main, thenscripts/release-windows.ps1on Windows (docs/release.md).Tests
pnpm check, Prettier,cargo fmt,cargo clippy -D warnings,cargo testwith the live tests against the test server: all pass. New unit tests for the folder migration and for which bundles can update.scripts/release.sh --dry-runwith a throwaway key (never committed): builds the .deb, .rpm, Flatpak bundle, signatures,latest.jsonandSHA256SUMS. The .rpm needsmpv-libs,libwebkit2gtk-4.1,libgtk-3andlibayatana-appindicator3; the .deb control file has the Debian names.--userand run (then uninstalled): login, keyring through the sandbox, tray, playback through the built libmpv (muted), and the Flatpak note in the settings.pkexec rpm -U, needs your password).fj release create), so also thelatestlink on git.m3tt.dev itself (read from the Forgejo 16 source; no release there yet).pwsh).🤖 Generated with Claude Code
- Update notice at start when a newer version is out ("Install and restart" / "Later") and an Updates section in the settings (version, check at start on/off, check now). The Flatpak points to the releases page instead. - packaging/flatpak: manifest on GNOME 51 (still has webkit2gtk-4.1), built from the .deb plus libmpv (with libass and libplacebo, audio only) and the Ayatana tray from flathub/shared-modules; AppStream metainfo. - scripts/release.sh: checks versions, key and tree, builds .deb, .rpm and the Flatpak bundle, writes latest.json and SHA256SUMS, tags, publishes the release with fj and replaces latest.json on the fixed "updater" pre-release (Forgejo 15 can't link to an asset of the latest release). --dry-run builds only. - scripts/release-windows.ps1: libmpv from shinchiro, NSIS build, uploads the installer and adds the Windows entry to latest.json. - docs/release.md (signing key, tools, steps), release-notes/v0.1.0.md, README install section, PLAN.md: channels are Forgejo releases for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>