Repository navigation
Releasing
This page is for maintainers. It explains how Nylzo versions are chosen, how a release is cut and checked, and how to publish this Wiki.
Nylzo uses Semantic Versioning. Builds take their version from the release tag vX.Y.Z. There are two kinds of release:
- A planned release
vX.Y.0comes frommain. release-please keeps an openchore(main): release X.Y.0pull request that always raises the minor version and updates.github/CHANGELOG.mdand.release-please-manifest.json. Pull request titles decide the changelog sections. - A patch release
vX.Y.Zcomes from the maintenance branchrelease/vX.Y, which opens whenvX.Y.0is published. It carries only dependency updates and security fixes, and automation tags it.
Builds from a checkout without a release tag report 0.0.0-dev.g<commit>, with .dirty added when the source has uncommitted changes. nylzo version --json prints the version, commit, commit date and dirty flag. The server reports the same build object in /api/v1/instance and /.well-known/nylzo/transparency.json.
Only stable versions are released. Never move, delete or reuse a tag, even after a failed run.
- Review the release pull request: version, changelog and the changes it includes.
- Merge it when the release is ready. The merge is the approval; never merge it only to clear the queue.
- CI runs the full suite on the merge commit. When
Release verificationand the three CodeQL analyses pass, release-tag.yml signs an annotated tag with gitsign and the workflow's GitHub OIDC identity, marks itRelease-Kind: planned, and pushes it with the Nylzo Dependency Updates App. - The tag starts release.yml. It checks the tag signature and that the commit passed full CI, builds the web client, binaries and images in jobs without write access, signs
checksums.txt, uploads a draft release and attests provenance. - Grype scans all eight archives and both images. A high or critical finding, a scanner error or a vulnerability database older than 48 hours stops the release.
- Only then does the workflow give the images their version tag, publish the release, which locks its assets, and move
latest. Last, it checks that both images can be pulled anonymously. - When the release is published,
release-tag.ymlopensrelease/vX.Y.
Renovate merges updates into release/vX.Y.
- After CI passes on a merge of a pull request labelled
security,release-tag.ymltags the next patch withRelease-Kind: security. - Other updates wait for a dependency window: on Monday, Wednesday and Friday from 13:47 UTC the production watch starts
release-tag.yml, which runs full CI on the branch and tags the next patch withRelease-Kind: dependencieswhen it passes. - monitor.yml fails when a merged security fix waits more than an hour for its release, or another update more than four days. Rerun the failed CI; do not tag by hand.
Setting the repository variable SECURITY_AUTOMATION_ENABLED to anything but true stops automatic tagging.
If the automation cannot tag, sign a tag yourself from a clean main that matches origin/main and has passed full CI:
mise run release:prepare -- X.Y.ZYour Git committer e-mail must match the repository variable RELEASE_TAGGER_EMAIL, and GitHub must verify your tag signature. release.yml then waits for approval in the release environment.
A complete release has:
- six
nylzoarchives: Linux and macOS.tar.gz, Windows.zip, each for amd64 and arm64; - two
nylzo-caddyarchives for Linux amd64 and arm64; -
nylzo-host_<version>.tar, the host bundle of the Hetzner Flatcar profile; -
checksums.txtwith its Sigstore bundle and one SBOM per archive; - the dependency evidence, listed in
nylzo_<version>.evidence.sha256and signed; -
nylzo_<version>.intoto.jsonlwith the build provenance; - the images
ghcr.io/misaon/nylzoandghcr.io/misaon/nylzo-caddyunder the version tag.
After publication:
- Follow Verify a release.
- Confirm that production reports the new version and that the monitor passes.
- Within four hours,
brew info misaon/nylzo/nylzoand the Scoop manifest should offer the release. If not, check the tap's workflow; the monitor fails too.
To rebuild a release independently, check out its tag in a clean tree and run:
mise run release:verify
mise run release:verify-imageThe first verifies the signed checksums.txt, rebuilds the archives and compares them and their provenance. The second verifies the image signatures and compares the image binaries with the rebuild. If either fails, stop the deployment and investigate. A bad release is never overwritten: publish a new version and an advisory.
The Wiki sources live in docs/wiki/. Publish them after the pull request that changes them is merged.
-
In a clean checkout of
main, render the pages:mise exec -- bun tools/wiki.mtsThis writes
dist/wiki, rewrites links for the Wiki, fails on a broken link and contacts nothing. -
Clone
https://github.com/misaon/nylzo.wiki.gitoutside the checkout, or pull the latest state into an existing clone. -
Copy the files from
dist/wikiinto the clone. -
Delete the Wiki pages whose source no longer exists in
docs/wiki. -
Review the diff, sign the commit and push without force. Check the Home page, the sidebar and the changed pages on GitHub.
Wiki pushes bypass the pull request rules of the main repository, so keep Wiki editing limited to collaborators and change content only through docs/wiki/.
Use Nylzo
Run an instance
Implement
Contribute
Maintain
Brand