Making a Release
New
Releases are named after their month, YYYY.MM (2026.10), with .N for a second release in the same month.
The version is in one place, alvie/code/dune-project; alvie --version, the opam files and the header of model files take it from there.
Before the release
Section titled “Before the release”- Set the version in
dune-project, and in theversion:of the manifests ofplugins/sancus,plugins/tinyandplugins/tiny-py(and in theserve(...)ofplugins/tiny-py/tiny.py, which the handshake checks). - Run
./regression.sh all. A new version changes only the first line of the learned models, so update the checked-in ones to it (the line// alvie-model format 1; plugin sancus YYYY.MM; core 1); the regression must then report no differences. - Run every suite of Testing ALVIE, including the fixtures of Sancus.
- Turn
## UnreleasedofCHANGELOG.mdinto## YYYY.MM, and update Migrating for the changes that users must act on. - Update the documentation versions line of
README.md.
The release
Section titled “The release”- Merge into
main(throughalvie-ngfor the milestones of the framework). - Tag the commit of
mainand push the tag:git tag YYYY.MM && git push origin YYYY.MM. The workflowpages.ymladds the documentation of the release to the site, at/alvie/YYYY.MM/, and makes it the current one. - Build and push the Docker image (see the first lines of
Dockerfile):docker buildx build --platform linux/amd64,linux/arm64 -t matteobusi/alvie:YYYY.MM -t matteobusi/alvie:latest --push . - Make a GitHub release from the tag, with the section of the CHANGELOG as its notes.
After the release, start a new ## Unreleased section in the CHANGELOG.