raz / commit ec5976d3

commit
ec5976d3c65f35d5d193924efd126292206e2858
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
c906160f
README: say how to make a release

patch · log

2 files changed, +12 -3

CLAUDE.md modified +2 -1

@@ -62,7 +62,8 @@
6262 describe` (`build/version.inc`, made by `make`). Pushing the tag runs
6363 `.github/workflows/ci.yml`, which checks it and makes the GitHub
6464 release with a tarball of `raz` and `lib/`; it also checks every push
65-to `main`. v0.3.0 is the first.
65+to `main`. `README.md`'s "Versions" gives the commands. v0.3.0 is
66+the first.
6667
6768 `test/libc` runs its programs over `lib/Sys.raz`, the C one, through
6869 a link in its `mods`. A test or example without `.expect` is only

README.md (history) modified +10 -2

@@ -139,8 +139,16 @@
139139
140140 The compiler's version is git's name for the commit it was built from:
141141 `0.3.0` at the tag `v0.3.0`, `0.3.0-5-g38d29a8` five commits past it.
142-A release is a tag `vX.Y.Z` pushed to GitHub, which builds it, checks
143-it, and attaches `raz` with its `lib/` to the release.
142+To release, check `main` and tag it; the tag's message is what
143+`raz --version` will print:
144+
145+ $ make check
146+ $ git tag -a v0.3.1 -m 'raz 0.3.1, report 2026-10.0'
147+ $ git push origin v0.3.1
148+
149+GitHub then builds and checks the tag, and makes a release of it with
150+a tarball of `raz` and its `lib/`. A tag pushed before the workflow
151+existed is released from the Actions tab: run "ci" with its name.
144152
145153 A version of the report is named by its month and a count; the report's
146154 last section says what each version changed.