# Release [The release workflow](../.tangled/workflows/release.yml) builds Linux x86_64 artifacts for `v*` tags and manual runs. It smoke-tests the artifacts and uploads only tag builds. ## What is built [release/build.sh](../release/build.sh) accepts an optional version, defaults to `git describe`, and runs [inside.sh](../release/inside.sh) in an Ubuntu 22.04 container. Output goes to `build/release//`. The script selects Podman or Docker and uses `ALBEDO_RELEASE_CACHE` for its cache when set. The build exports the locked [kernel project](../python/pyproject.toml) and installs its dependencies into the bundled CPython before sealing the shipment. The build produces an AppImage and deb, rpm, and Arch packages. [The package launcher](../release/packages/albedo) supplies daemon and web paths. [AppRun](../release/appimage/AppRun) supplies the AppImage environment. The [daemon launcher](../release/albedo-daemon) runs the bundled shipment. ## Nix packages [The daemon module](../apps/albedo/package.nix) selects its explicit [shipment builder](../apps/albedo/shipment.nix). It materializes the top-level Python tree and selects the interpreter built by [uv2nix](../python/package.nix) from the [kernel lockfile](../python/uv.lock). It installs renderer and usage helpers, and seals the shipment after fixup. [The lint module](../tools/lint/package.nix) selects its own executable shipment. The public `default`, `albedo`, `albedo-server`, `daemon`, client, and web outputs retain their names. [default.nix](../default.nix) exposes the same flake outputs through flake-compat. [The Nix workflow](../.tangled/workflows/nix.yml) evaluates every system and the compatibility entrypoint, runs package checks, and builds Albedo, lint, and representative production libraries. Shared package ownership and source selection are described in [workspace Nix builds](workspace-packages.md#nix). ## Testing [release/smoke.sh](../release/smoke.sh) installs an artifact in a container, runs the CLI, starts a daemon, lists sessions, and checks that its packaged Python can serialize and restore a function with `dill`. When adding a native kernel dependency, exercise it from the installed artifact so missing shared libraries fail the smoke test. The script stops the daemon after the checks. The workflow names the container images used for each format. General test execution is covered in [testing](testing.md). ## Storage [release/upload.sh](../release/upload.sh) uploads artifacts and checksums for the tag. The workflow skips that step for manual runs. Bucket policy and deployed infrastructure are outside this repository's evidence. ## Related pages - [All topics](README.md) - [Change guidance](contributing.md) - [Test execution](testing.md) - [Harness runtime](runtime.md)