Skip to content

Releases and Imager catalogs ​

This guide covers release maintenance. Use Getting started to install AudioX and Development to build without publishing.

Build workflow ​

CI builds Pi 4 and Pi 5 separately, and builds the Linux desktop artifact. Windows and macOS desktop support is deferred. Main-branch and pull-request builds do not publish releases. The nightly check runs daily at 08:00 UTC and can also be started from Actions > Release AudioX > Run workflow on main.

The workflow compares firmware and desktop inputs selected by its push.paths filter. Documentation, tests, Imager catalogs, and mirror-only edits do not trigger a nightly. Keep the workflow filter and tools/release/prepare-release.sh aligned when adding build inputs.

Select a release channel ​

The workflow reads make print-version from the selected commit:

VersionChannel
X.Y.ZStable, tagged vX.Y.Z
SemVer prerelease such as X.Y.Z-beta.2 or X.Y.Z-rc.1Nightly prerelease

Set AUDIOX_VERSION_MAJOR, AUDIOX_VERSION_MINOR, and AUDIOX_VERSION_PATCH in the Makefile. Leave prerelease and build metadata empty for Stable. Set AUDIOX_VERSION_PRERELEASE for Nightly. A stable version already published is skipped; use a new version for another Stable release. Configured build metadata is rejected because the workflow supplies it.

Publish a Stable release ​

  1. Commit the intended version in the Makefile.
  2. Select main and run Actions > Release AudioX > Run workflow, or wait for the scheduled run.
  3. CI builds both boards and the Linux desktop app and stages images, checksums, manifests, AXU archives, and desktop artifacts in a draft release.
  4. After uploads succeed, the workflow publishes the release as the latest Stable.

The tag must identify the same commit when a release is retried. Use Re-run failed jobs for a failed publication; do not move a published tag. Stable downloads include audiox-latest-pi4.img.xz and audiox-latest-pi5.img.xz.

Nightly releases ​

Nightly versions append .nightly to a configured prerelease and use the workflow run ID as tag metadata, for example v1.12.0-beta.1.nightly+123456789. The firmware version uses the commit hash, for example 1.12.0-beta.1.nightly+0123456789ab.

The workflow publishes versioned prereleases and refreshes the rolling nightly release. It retains the latest 25 versioned Nightly builds. Versioned assets are not overwritten on reruns, and an older run cannot replace a newer Nightly. The rolling release includes fixed download names such as audiox-latest-nightly-pi4.img.xz, audiox-latest-nightly-pi5.img.xz, and os_list.json; its catalog points to versioned assets. Stable, versioned Nightly, and rolling Nightly releases also contain the Linux x86-64 AppImage and its SHA-256 sidecar.

Release notes use commit subjects and group subjects prefixed with [feat] or [fix]. Use clear subjects for user-facing changes; document test-only and documentation-only commits plainly.

Version format ​

AudioX uses SemVer. The Makefile settings are:

  • AUDIOX_VERSION_MAJOR, AUDIOX_VERSION_MINOR, AUDIOX_VERSION_PATCH
  • AUDIOX_VERSION_PRERELEASE, such as beta.3, or empty for a final version
  • AUDIOX_VERSION_BUILD, the metadata after +
  • AUDIOX_VERSION_NIGHTLY, 0 or 1

Inspect the effective version with make print-version. Nightly mode appends .nightly to a prerelease, or uses nightly when none is set; build metadata defaults to the 12-character Git commit.

ConfigurationNormalNightly
Version 1.10.0, prerelease beta.31.10.0-beta.31.10.0-beta.3.nightly+<commit>
Version 1.10.1, no prerelease1.10.11.10.1-nightly+<commit>

Stable packaging takes X.Y.Z from the tag and clears prerelease/build metadata. Nightly packaging retains the configured prerelease.

Imager catalogs and permissions ​

The AudioX Imager repository is https://raw.githubusercontent.com/wk1093/audiox/main/config/imager/os_list.json. The catalog provides Stable and Nightly entries for Pi 4 and Pi 5, with board tags, image sizes, icons, and SHA-256 hashes. Forks must replace repository-specific URLs before publication.

Branding lives in assets/branding/. Packaging uses the relocated icon URL; catalog publication also repairs the old root-level icon URL in retained release entries. Archived manifests and firmware download URLs are left unchanged. Imager clients using the former root-level catalog URL must switch to the URL above.

Release workflows use GITHUB_TOKEN with release-content and tag-management permissions. Repository policy must allow replacement of rolling assets and Nightly pruning. After publication, the build workflow calls the Pages workflow to rebuild the documentation, live demo, download page, and update mirror.

Troubleshoot Pages deployment ​

The local website preview does not include mirrored firmware. The uploaded directory is out/update-pages/; the workflow reports its total size and largest files before upload. The artifact includes the stable and nightly update archives used by browser-based installation.

Check which step fails: uploading the artifact, finding its metadata, and deploying Pages are separate operations. A successful upload followed by "No artifacts named" does not establish a size problem or an outage. Compare the exact run/attempt artifact name with the workflow run's REST artifact list. The workflow pins official actions/deploy-pages v4.0.0 by commit to use REST artifact discovery, with actions: read permission. The moving v4 tag uses the internal Results service, which has missed successfully uploaded artifacts that the REST API can find. Keep the pin until a replacement is verified. The build workflow's update-mirror calling job must grant the same permissions as the reusable deployment job, including actions: read; a reusable workflow cannot increase its caller's permissions.

The punycode deprecation warning is not an artifact lookup failure. Increasing the deployment polling timeout cannot fix a lookup failure because no deployment has been created yet. For failures after deployment creation, check GitHub Status and repository Pages settings; include the run URL in a GitHub Support request if a fresh run still stalls.

Artifact names include the run ID and attempt number so reruns cannot accidentally select multiple artifacts with the same name.

Validate release tooling ​

These tests use local mocks and do not publish a release:

sh
bash tests/release/imager_package_test.sh
bash tests/release/imager_publish_test.sh
bash tests/release/release_workflows_test.sh
python3 tests/release/release_notes_test.py
node --test tests/web/site_navigation_test.js tests/web/docs_site_test.js

The shell tests require tools including jq and xz. See tools/release/package-imager.sh, tools/release/publish-imager.sh, and tools/release/mirror-updates.sh for the maintained entry points.

AudioX is open source and under active development.