Release by itself at every merge #38

Merged
squid merged 2 commits from ci/semantic-release into main 2026-11-16 12:09:16 +00:00

2026-11-16

tgiachi
ci: pin the release tools to versions that work together
The preset of the commit messages in its 10th version cannot be read by the generator of
the release notes that semantic-release 25 comes with: use its 8th, and pin the
analyzer and the generator too. Found by a dry run before the first release.
2026-11-16 13:08:58 +01:00
tgiachi
ci: release by itself at every merge, with semantic-release
At every merge into main a workflow reads the Conventional Commits since the last release,
works out the version, writes CHANGELOG.md, tags the commit and makes the release on the
forge; when there is a release it builds the image from the tag and pushes it to
git.kmalloc.org/squid/sonda as X.Y.Z, X.Y and latest. The runner has no Docker, so the
image is built with kaniko.

The version is no longer written in the code: the release sets it (-X main.version) in the
Dockerfile and the Makefile, and a build that no release made says dev.
2026-11-16 13:07:17 +01:00