Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.71 KB

RELEASING.md

File metadata and controls

43 lines (35 loc) · 1.71 KB

Releasing

Versions follow SemVer; the git tag vX.Y.Z is the release trigger.

Steps

  1. Update CHANGELOG.md: move [Unreleased] entries under a new [X.Y.Z] — <date> heading, and refresh the compare links at the bottom.
  2. Bump version in core/Cargo.toml (and any connector crate that changed) to X.Y.Z; commit Cargo.lock.
  3. Commit: release: vX.Y.Z.
  4. Tag and push:
    git push origin master          # wait for ci and audit, then:
    git tag -a vX.Y.Z -m "vX.Y.Z"
    git push origin vX.Y.Z

Pushing the tag runs .github/workflows/release.yml, which:

  • builds the release binary (vejas-runtime, Linux x86_64), stripped, and attaches it plus its SHA-256 to the GitHub Release;
  • builds and pushes the container image to ghcr.io/cpoder/vejas-runtime:vX.Y.Z and :latest;
  • creates the GitHub Release with the CHANGELOG section as its notes.
  1. Publish what readers see. Nothing does this for you:
    scripts/deploy-docs.sh vX.Y.Z   # the book at vejas.dev/docs, built from the tag
    scripts/deploy-site.sh          # vejas.dev, when site/ changed
    pages.yml carries site/ to GitHub Pages only. vejas.dev is a static directory on a box shared with production, so these two stay manual. Before this step existed the book stayed on 2026-08-24 through nine releases.

Master goes first because a tag publishes at once: a red ci on a released commit can only be fixed forward.

Version discipline (ADR-0030)

The public HTTP API, docs/CONTROL.md and docs/SUBJECTS.md are a contract: the enterprise tier and external integrators pin a version of them. A breaking change to any of these is at least a minor bump while 0.x, called out in the changelog.