Prepare product changes, versions, and changelogs in a pull request targeting main. If publishing from a release branch, bring the reviewed changes from main to that branch before running the release workflow.
WBS and each image are versioned independently according to the WBS version policy and Semantic Versioning.
The primary release-preparation workflow is the wbs-dev update interview. It gathers supported upstream updates, proposes versions, and drafts changelogs for the products being released.
Complete and commit the intended product changes according to the versioning and commit policy.
Run the update interview for the projects being released, or for all projects:
wbs-dev update <project...>
wbs-dev update all
The command presents supported upstream update candidates and the information needed to assess them. It then proposes semantic versions and generates changelog drafts. Review the relevant image updating guides as you make those decisions and inspect the resulting changes:
wikibase)wdqs)wdqs-frontend)quickstatements)opensearch)wbs-tools)For Wikibase, change only MEDIAWIKI.ref in its docker-bake.hcl when moving to a new MediaWiki release line. The updater resolves the commit and reads the version from that source; leave the ref unchanged for maintenance updates.
The generated changes are local and unstaged: the command does not commit, tag, or push. Review them with git diff, including upstream comparisons, compatibility implications, version proposals, and changelog wording.
WBS release identity and its exact WBS Tools image are recorded in the checked-in .wbs/version manifest. Preparing WBS Tools asks whether the current WBS release should adopt the proposed image; accepting also prepares the corresponding WBS patch, while declining keeps the products independent.
Make any compatibility or documentation changes identified during review, then build and test the projects in scope. Use wbs-dev test -h and wbs-dev build -h to select appropriate targets.
Each image’s docker-bake.hcl is its authoritative build and release manifest. From an image directory, docker buildx bake performs a native local build and loads it into Docker; use docker buildx bake --print to inspect the fully evaluated definition. wbs-dev build composes shared cache, builder, publication, and optional --platform policy around the same manifest.
Commit the release changes. If additional product commits changed the release contents, rerun wbs-dev update so that its version and changelog proposals include them, then review and commit the refreshed metadata.
Merge the pull request into main after review and CI pass.
The update command can be rerun safely while preparing the release. It reconstructs each draft from the latest published tag, replaces the generated Changes and Dependency updates sections, and preserves prose outside those sections. Keep manually maintained release commentary under a separate heading.
If publishing from a release branch such as release/wbs-8, choose the reviewed main commit that contains the release changes.
main through the chosen commit, fast-forward the release branch when possible. For a promotion pull request, use a branch pointing at the chosen commit as the head and the release branch as the base. Review the full diff and use a merge commit to preserve the history from main.main into a backport pull request targeting the release branch. Check the versions and changelogs against that release line, then merge after review and CI pass.In GitHub Actions, open Create a Release and select the branch that contains the reviewed release changes, such as release/wbs-8 for a WBS 8 release or main when publishing directly from trunk. Confirm that the selected branch has the release workflow and tooling you intend to use.
Enter space-separated targets such as wikibase quickstatements, wbs, or all. Enable Dry run for preflight, review the results, then run again with Dry run cleared to publish.
Both paths follow preflight → build → test → publish → Git tags, sharing preflight, build tooling, tests, and publication code. Actions distributes builds and tests across runners. Publication copies the tested images without rebuilding. Image Git tags no longer trigger builds; wbs@… still triggers installer publication.
For a local release, check out the release commit and run the equivalent command from development/.
wbs-dev release wikibase quickstatements
wbs-dev release # all projects, including WBS
wbs-dev release all --preflight # checks only
wbs-dev release wikibase -- --no-cache --pull
Local releases build the full test stack once, run all suites, then publish only selected targets. Options after -- pass through the existing build wrapper to Docker Bake; release controls output tags and platforms. Already released project versions are skipped.
Images are staged under a unique attempt tag in wikibase on Docker Hub by default. Use --staging-registry ghcr.io/OWNER/wikibase to stage elsewhere and --registry REGISTRY/NAMESPACE to change the destination. Registry credentials and Git push access must be available inside the development container; a host Docker login alone is insufficient. Preflight and publication can also run on the host with pnpm exec tsx wbs-dev.ts release … --preflight or --publish; integration tests normally run inside the development container.
Local releases default to linux/amd64. Use --platform linux/amd64,linux/arm64 with a builder and runtime capable of both architectures; each architecture is tested. Actions uses both when WBS_RELEASE_ARM64=true, otherwise AMD64. Registry staging avoids requiring a local multi-platform image store.
After tests pass, the local command prints a --publish command for retrying publication from the same images. Actions can rerun failed publication jobs. This stage trusts its caller’s completed tests; it does not search earlier runs or store test receipts. Existing version tags must match the source digest and are never overwritten. update remains a separate preparation command.
If image publication succeeded and only the Docker Hub descriptions need to be refreshed, run Publish Image Documentation in GitHub Actions. Select the branch with the intended READMEs and any workflow fixes. This updates the descriptions for all images without building images or creating tags.