feat(release): publish Linux snap to Snap Store on tag#146
Open
carvalab wants to merge 1 commit into
Open
Conversation
carvalab
force-pushed
the
marketplace-publish-groovy-beaver
branch
from
July 23, 2026 19:24
de9b34f to
30d7838
Compare
Modernizes the legacy `build.snap` block to `build.snapcraft` targeting core24 with the GNOME extension (mirrors snapcrafters/signal-desktop). The legacy block replaced electron-builder's default plug set, leaving the snap under strict confinement without `home`, `x11`, `wayland`, or `network-bind` — the local Express server on :3001 and KDS on :3002 couldn't bind, and the renderer couldn't open a window. The new config extends defaults via "default" and adds `network-bind` + `screen-inhibit-control` explicitly. `release.yml` builds AppImage + deb + rpm + snap in one electron-builder call, self-registers the snap name on first run (`snapcraft register`, idempotent), and uploads with `--release=stable`. One-time setup is just the `SNAPCRAFT_STORE_CREDENTIALS` repo secret — a snapcraft macaroon from `snapcraft export-login`. Snap name is `flocafe` (from `package.json > name`); the runtime Electron `app.name` and on-disk user-data path stay `flo-desktop` to preserve existing dev installs.
carvalab
force-pushed
the
marketplace-publish-groovy-beaver
branch
from
July 23, 2026 19:25
30d7838 to
0b30575
Compare
carvalab
commented
Jul 23, 2026
| { | ||
| "name": "flo-desktop", | ||
| "version": "2.0.4", | ||
| "name": "flocafe", |
Contributor
Author
There was a problem hiding this comment.
@khaira777 @itsbkm Is ok this rename? I ask to no have issues with other releases
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's in this PR
Linux distribution publishing for Flo. One workflow, three architectures, two store-fronts ready to ship.
v*tag publishesflocafetolatest/stable. I migrated the legacybuild.snapblock tobuild.snapcrafton core24 + GNOME extension. Mirrors thesnapcrafters/signal-desktoprecipe.x64andarm64now. Release job is a matrix onubuntu-22.04+ubuntu-22.04-arm64; each entry builds and uploads its host-arch artifacts, and both publish their snap to Snap Store as a multi-arch revision. AppImageHub auto-discovers both.flocafe-<version>-<arch>.AppImage), and the AppStream metainfo is wired in at/usr/share/metainfo/.scripts/update-metainfo.jsruns at release time and prepends a<release>block frompackage.json > version+ CHANGELOG. Idempotent. The source file is rewritten but not auto-committed.Bug fix I caught
The legacy snap config replaced electron-builder's default plug set, leaving the snap under strict confinement without
home,x11,wayland, ornetwork-bind. Result: the local Express server on0.0.0.0:3001and the KDS server on:3002couldn't bind, and the renderer couldn't open a window. I extended the plug list with"default"and addednetwork-bind+screen-inhibit-controlexplicitly.Test plan
v2.0.5(or anyv*) and verify the.snap+ AppImage land on the GitHub release with the correct filenameshttps://snapcraft.io/flocafeshows the new revision andsnap install flocafeworks on Ubuntu 24.04