diff options
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -143,6 +143,28 @@ verified by running `test-build` against a real image. - GPLv2-only. Every source file carries a short GPL header notice. - No em dashes in prose. +## Releases + +SemVer, starting at `1.0.0`. The version is a baked `PROJECT_VERSION="X.Y.Z"` +const in every script (`test-build`, `install.sh`, and the three +`image-builder/*.sh`); there is no VERSION file. `test-build` and `install.sh` +expose `-V`/`--version`; the image-builder scripts already use `--version` for +the Slackware target, so their project-version flag is `-V` only. + +To cut a release (bump `X.Y.Z`): + +```bash +sed -i 's/^PROJECT_VERSION="[^"]*"/PROJECT_VERSION="X.Y.Z"/' \ + test-build install.sh image-builder/*.sh +git commit -aS -m "release X.Y.Z" +git tag -s vX.Y.Z -m "vX.Y.Z" +git push origin master --tags # both remotes (danix_git + forge) +tea release create --repo danix/sbo-dockerbuild --tag vX.Y.Z --title vX.Y.Z +``` + +The `sed` anchors on `^PROJECT_VERSION="..."`, which never matches the SBo +package `VERSION=`/`OPT_VERSION=` vars, so it only touches the project const. + ## Deployment The image-builder scripts run on the docker host VM (`docker.noland.dnx`, |
