Releasing
Releases tie source, desktop packages, and container images to a tested commit. Distinguish stable releases from the two rolling development channels.
Choose a channel
Section titled “Choose a channel”| Channel | Intended use | Publication behavior |
|---|---|---|
Stable release-vx.y.z |
Versioned releases | Release workflow publishes desktop assets and versioned/latest images |
pre-release |
Rolling tip image used by the hosted demo | docker-build-push-dev on dev moves the tag/release and publishes the tip image |
dev-preview |
Experimental desktop and image preview | Release workflow in preview mode replaces the rolling preview assets and image tag |
The preview workflow does not publish latest. The rolling tip image and
desktop preview are different workflows, not interchangeable names.
Find actual available downloads on GitHub Releases. Check the selected release’s assets rather than assuming that a build matrix guarantees an asset exists.
Prepare a stable release
Section titled “Prepare a stable release”This section is for maintainers with publishing access. From the product repository root, inspect version consistency first:
make version-showmake metadata-checkThe canonical version is [workspace.package].version in
backend/Cargo.toml. Set the intended version with
make version-set VERSION=x.y.z, substituting the actual release version.
This updates project manifests and resolves the three Cargo lockfiles; it can
need network access.
- Review all changed manifests and lockfiles.
- Update
docs/CHANGELOG.mdand run the checks in Contributing. - Prepare a
release-vx.y.ztag pointing to the tested commit. It must match the canonical version and checked product version sources. - Publish a non-prerelease GitHub Release for that existing tag. Publication triggers the release workflow.
- Verify all jobs, desktop assets, checksums, and registry destinations.
Alternatively, dispatch the release workflow with stable while selecting
that tag; the published GitHub Release must already exist. Packaging validates
committed versions rather than rewriting version files on the runner.
Publishing credentials
Section titled “Publishing credentials”Stable/multi-registry release publication requires Actions configuration:
| Name | Kind | Purpose |
|---|---|---|
DOCKER_USERNAME |
Secret | Docker Hub account and image namespace |
DOCKER_PASSWORD |
Secret | Docker Hub token |
GHCR_USERNAME |
Variable | GHCR authentication account |
GHCR_TOKEN |
Secret | Package-write access to the workflow’s GHCR namespaces |
Each registry/organization must grant the required package permissions and
meet any SSO requirements. Never put tokens into source files or release notes.
The rolling tip’s organization GHCR push uses GITHUB_TOKEN and does not
require Docker Hub secrets.
Rolling development builds
Section titled “Rolling development builds”For the tip image, dispatch docker-build-push-dev on dev. It publishes:
ghcr.io/open-trading-ai/open-trading:pre-releaseThe local equivalents are make docker-build-dev and
make docker-push-dev-ghcr-ot. The push requires registry authentication and
publishes an artifact; it is not just a local validation step.
For desktop plus image previews, dispatch the Release workflow on dev with
preview. After CI and builds pass, it moves dev-preview to that commit and
replaces its assets. The packages retain the product version from the selected
commit; release notes identify that commit.
Verify what was published
Section titled “Verify what was published”- Desktop: current runners are Linux x64, Windows x64 and macOS ARM64. Package formats and checksum verification are in Desktop.
- Images: currently
linux/amd64, because the Dockerfile bundles x64 PostgREST. Stable publishesx.y.zandlatest; preview publishesdev-preview. - Checksums: the workflow attaches
SHA256SUMS. Check the files you downloaded, not just the existence of the checksum file. - Attestations: desktop build-provenance attestations are produced when the repository is public. They do not make an unsigned installer code-signed.
Inspect a failed publication before consuming it. After correcting a permission/service failure, rerun for the same commit. A source change needs a new tested commit and, for stable releases, an appropriate version. Stable release notes are not overwritten by the workflow.
For self-hosted upgrades, back up and review database compatibility first: Database & persistence.
Sources: release guide, changelog, release workflow.