From ec5976d3c65f35d5d193924efd126292206e2858 Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Sun, 11 Oct 2026 00:30:52 +0100 Subject: [PATCH] README: say how to make a release --- diff --git a/CLAUDE.md b/CLAUDE.md index 1db280c..649d928 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -62,7 +62,8 @@ describe` (`build/version.inc`, made by `make`). Pushing the tag runs `.github/workflows/ci.yml`, which checks it and makes the GitHub release with a tarball of `raz` and `lib/`; it also checks every push -to `main`. v0.3.0 is the first. +to `main`. `README.md`'s "Versions" gives the commands. v0.3.0 is +the first. `test/libc` runs its programs over `lib/Sys.raz`, the C one, through a link in its `mods`. A test or example without `.expect` is only diff --git a/README.md b/README.md index 8831fc6..dcceacb 100644 --- a/README.md +++ b/README.md @@ -139,8 +139,16 @@ The compiler's version is git's name for the commit it was built from: `0.3.0` at the tag `v0.3.0`, `0.3.0-5-g38d29a8` five commits past it. -A release is a tag `vX.Y.Z` pushed to GitHub, which builds it, checks -it, and attaches `raz` with its `lib/` to the release. +To release, check `main` and tag it; the tag's message is what +`raz --version` will print: + + $ make check + $ git tag -a v0.3.1 -m 'raz 0.3.1, report 2026-10.0' + $ git push origin v0.3.1 + +GitHub then builds and checks the tag, and makes a release of it with +a tarball of `raz` and its `lib/`. A tag pushed before the workflow +existed is released from the Actions tab: run "ci" with its name. A version of the report is named by its month and a count; the report's last section says what each version changed.