Skip to content

Releasing

Releases tie source, desktop packages, and container images to a tested commit. Distinguish stable releases from the two rolling development channels.

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.

This section is for maintainers with publishing access. From the product repository root, inspect version consistency first:

Terminal · inspect versions
make version-show
make metadata-check

The 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.

  1. Review all changed manifests and lockfiles.
  2. Update docs/CHANGELOG.md and run the checks in Contributing.
  3. Prepare a release-vx.y.z tag pointing to the tested commit. It must match the canonical version and checked product version sources.
  4. Publish a non-prerelease GitHub Release for that existing tag. Publication triggers the release workflow.
  5. 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.

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.

For the tip image, dispatch docker-build-push-dev on dev. It publishes:

Rolling tip image · mutable
ghcr.io/open-trading-ai/open-trading:pre-release

The 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.

  • 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 publishes x.y.z and latest; preview publishes dev-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.