Repository navigation
feat(release): Linux and macOS packages in every release - #100
Merged
Merged
Conversation
- Linux: .deb and AppImage, built on Ubuntu 22.04; macOS: .dmg and the updater's .app.tar.gz for Apple Silicon, ad-hoc signed (no Apple Developer account yet, so not notarized). - One build job per system stages its files and a manifest; a final job merges them into one draft release and one latest.json, with an updater entry per system and installer (AppImage and .deb apart). - Run by hand, the workflow builds the same files as artifacts without attesting or releasing, to try packaging on a branch.
It already adds libayatana-appindicator3-1 for the tray icon; the dry run showed it twice.
Merged
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.
Slice 5 of Linux/macOS support (spec 18, item 8): every release ships Botloft for Linux and macOS, next to Windows.
Packages
.deband AppImage, built on Ubuntu 22.04 so the AppImage also runs on older distributions. Tauri sets the.debdependencies (WebKitGTK, GTK, the tray's appindicator)..dmgand the updater's.app.tar.gz, for Apple Silicon (macOS 11+). There is no Apple Developer account yet, so the app is not notarized, only ad-hoc signed (signingIdentity: "-"). Without any signature macOS calls the app damaged; ad-hoc signed, the owner allows it once in System Settings → Privacy & Security → Open Anyway. The release notes say so.tauri.linux.conf.jsonandtauri.macos.conf.json, which Tauri merges on each system.pnpm bundleis the same command everywhere.Release workflow
pnpm bundle(plusbundle:setupon Windows), thenrelease.mjs stage <system>, attests its files and uploads them as an artifact. A final job merges them and runsrelease.mjs publish.latest.json, withwindows-x86_64,linux-x86_64-appimage,linux-x86_64-debanddarwin-aarch64. The updater plugin (2.13) looks for<os>-<arch>-<installer>first, so a.debinstall gets the.deb(installed withdpkg -i) and an AppImage gets the AppImage.workflow_dispatchbuilds the same files as artifacts, without checking the tag, attesting or releasing. That is how this PR was checked.Checked (dry run)
The release workflow, run by hand on this branch, built all three; run 36940758756.
-setup.exeand-update.exe, as before..deb, each with its.sig. In a Debian container, the.debputsBotloftandbotloftdin/usr/bin, andbotloftd --versionanswers0.7.0..dmgand the.app.tar.gz, with.sig.Botloft.app/Contents/MacOSholds bothBotloftandbotloftd, where the app looks for the daemon, and has a_CodeSignature.Not done yet