Release: enforce root version across component feeds

This commit is contained in:
faumaray committed 2026-07-28 21:41:55 +03:00
1 parent f78004e822
commit 1305d37fae
6 files changed
+139 -7

No files matched your search

+12 -2
View File
@@ -93,7 +93,15 @@ git add components.lock.json
uncommitted source. `--update` moves existing clean component checkouts to the
locked revisions. Product version changes are separate: edit only
`project(Echoion VERSION ...)` in root `CMakeLists.txt`; orchestrated component
builds and release overrides inherit that value.
builds and release overrides inherit that value. A stable or beta release tag
must have the same numeric base as this CMake version, so `v1.2.3` and
`v1.2.3-rc.1` both require `project(Echoion VERSION 1.2.3 ...)`. The release
workflow rejects mismatches before building.
Nightlies use the newer of the root CMake version and the next patch after the
latest published release. This prevents a stale CMake value from producing a
version rollback while still allowing a single CMake edit to move nightlies to
a newer minor or major release line.
Create an orphan `release-feed` branch containing a tracked `feeds/`
directory, then protect it so only the release bot can push. Protect the `v*`
@@ -121,7 +129,9 @@ installation has a signed official source without operator-side duplication.
## Stable and beta releases
Create an annotated SSH-signed tag. A version without a prerelease suffix goes
to `stable`; any strict SemVer prerelease goes to `beta`.
to `stable`; any strict SemVer prerelease goes to `beta`. First set the product
version in the root `CMakeLists.txt`, commit it, and use the same numeric base
for the tag:
```bash
git config gpg.format ssh