This document defines the release contract for this repository.
VERSIONcontains the canonical semantic versionX.Y.Z.Lakefile.leanmust setversion := v!"X.Y.Z"to the same value.- Git release tag must be
vX.Y.Z. - Release archive name must be
lean-containers-vX.Y.Z.tar.gz.
lake-manifest.jsonLakefile.leanlean-toolchainVERSIONLICENSEREADME.md
Run from repository root:
bash scripts/check-release-consistency.sh(orscripts\check-release-consistency.bat)lake buildlake env lean FinalProductionTest.lean- optional:
lake exe lean-containers
On GitHub Release:
- Validate tag/version consistency via
scripts/check-release-consistency.sh. - Build and push Docker image tags derived from release metadata.
- Create source archive
lean-containers-vX.Y.Z.tar.gz. - Upload release archive to GitHub Releases.
- Local check:
docker build -t lean-containers .docker run --rm lean-containers Main.lean
- Published image location:
ghcr.io/<owner>/lean-containers
- Update
VERSIONto targetX.Y.Z. - Update
Lakefile.leanversion := v!"X.Y.Z"to match. - Run validation checklist.
- Tag and publish
vX.Y.Z.