Sambee 0.7

Companion Release Overview

Sambee Companion releases are built and published once, and later promoted across update channels by changing public feed files.

Key differences between the Companion and Docker release paths:

  • Docker releases promote an already published container digest.
  • Companion releases promote an already published GitHub Release by rewriting feeds read by Companion’s auto-updater and by the Sambee frontend.

Summary

If you want to take a new Companion version to the stable update channel, follow this order:

  1. Update VERSION and run ./scripts/sync-version.
    • Git merge the reviewed version-sync changes.
  2. Run Release: Build Companion Artifact and select the target platforms.
    • This creates draft release in the GitHub repo helgeklein/sambee-companion.
  3. Test the draft release.
    • Download the installer from the releases artifacts, install and test.
  4. Publish the draft release.
  5. Run Release: Promote Companion Release for test.
    • Validate both update behavior and direct-download metadata against the promoted feeds.
  6. Rerun Release: Promote Companion Release for beta, stable, and Sambee download metadata.

Companion release tags follow the companion-vX.Y.Z pattern.

One published release can move from test to beta to stable without rebuilding binaries.

Read the detailed pages in this order:

  1. Build Companion Release
  2. Promote Companion Release
  3. Companion Channels, Feeds, And Downloads

Workflow Map

Workflow or systemWhen to use itResult
Release: Build Companion ArtifactYou want to create release assets for one Companion version.Builds the selected platform set and updates a draft GitHub Release in helgeklein/sambee-companion.
Release: Promote Companion ReleaseA published Companion release is approved for one or more channels or for Sambee download metadata.Rewrites the selected feed files in docs/feeds of the release repository and publishes the updates at https://release-feeds.sambee.net.
helgeklein/sambee-companionYou need the release repository that owns public Companion release artifacts.Hosts immutable GitHub Release assets and stores the committed feed files under docs/feeds to be served by GitHub Pages.
https://release-feeds.sambee.netYou need the public feed host that installed Companion builds and Sambee read.Serves the promoted feed JSON files from GitHub Pages (not from the main sambee.net website deployment).

Main Control Points

File or systemRole
.github/workflows/build-companion.ymlBuilds platform artifacts and updates a draft release.
.github/workflows/promote-companion-release.ymlPromotes one published release to selected public feeds.
.github/scripts/promote_companion_release.pyResolves release assets and writes the feed JSON files.
helgeklein/sambee-companionDedicated public release repository for Companion GitHub Releases and committed feed source files.
release-repo/docs/feedsSource-controlled feed JSON files that promotion updates and commits.
https://release-feeds.sambee.netPublic host that serves the promoted feed JSON files to Companion and Sambee.

Channels And Consumers

Companion does not use separate binaries per channel. It uses one published release plus multiple mutable feed pointers.

ConsumerPublic filePurpose
Installed Companion buildsfeeds/companion/tauri/<channel>/latest.jsonTells the updater which published release is visible on stable, beta, or test.
Sambee backendfeeds/sambee/companion/latest.jsonTells Sambee which Companion installers and release notes to show in the UI.

Changing a Companion channel feed affects auto-update visibility for installed apps. Changing the Sambee metadata feed affects which direct downloads Sambee surfaces.

Those are separate decisions and can be promoted independently.

The current public feed host is not the same deployment surface as the main sambee.net website built from this repository. The live feed host responds separately from the Cloudflare Pages deployment used by sambee.net.

Published Artifact

Published Companion releases live in helgeklein/sambee-companion as GitHub Releases.

Each release may contain:

  • Installer assets.
  • Tauri updater bundles.
  • .sig files for updater verification.
  • Release notes.

Release tags do not encode a channel. Channel visibility is decided only by the promoted feed files.

Operating Rules

  • Do not treat update channels as different binaries.
  • Do not patch broken published assets in place.
  • Build and publish a new release instead of replacing assets on an existing tag.
  • Review whether you are changing Companion updater visibility, Sambee download visibility, or both.

Use Companion Channels, Feeds, And Downloads for the system model behind those rules.