fix(release): decide channels from every page and never fail after publishing
The release step decided :latest and the releases repository's content after the Gitea release was already public, and could then fail or decide wrongly (owner review 2, phase 1 review): - Re-publishing v0.1.0-rc.1 or rc.2 builds Chronos.Tools from the tag, which has no release-channels: the step failed after publishing and the image job never ran. Any failure to decide (a tag older than the command, an unreadable page, a body that is not a list) now warns and moves no channel, so the version's image is still pushed. - Only the first page (50, newest first) of releases was read, and pre-releases now share it with stable ones: 50 pre-releases after a stable release hid it and moved :latest to a pre-release. The workflow reads every page up to the first empty one (at most 100) and release-channels takes one --releases file per page (Args.GetAll). - The Version step accepted tags release-channels refuses (v01.2.0), which then failed only after publishing. It now uses release-channels' SemVer 2.0 pattern without +BUILD, and a test keeps the two in step. BRIEF §19.3, DECISIONS, CHANGELOG and README step 5 say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a34b33d50b
commit
b2aeb2f587
8 files changed
+129
-40
No files matched your search
+6
-2
@@ -20,13 +20,17 @@ commits follow Conventional Commits (release notes are generated from them by `C
|
||||
- Server diagnostics: the environment report lists the archive, space and data volumes with their free space, file
|
||||
system and mount.
|
||||
- `Chronos.Tools release-channels`: which channels a release tag moves (`latest=`, `image_latest=`), by SemVer 2.0
|
||||
precedence among the published releases.
|
||||
precedence among the published releases (every page of Gitea's list, one `--releases` file per page).
|
||||
|
||||
### Changed
|
||||
- Server image: `:latest` now follows the highest stable release, or the highest pre-release while no stable release
|
||||
exists, so the Unraid template and the compose file find an image from the first pre-release on. The public
|
||||
releases repository still follows stable releases only, and re-publishing an older tag never moves either back.
|
||||
`:nightly` stays the nightly build of `main`, for testing only (owner review 2, R1).
|
||||
When the release workflow cannot decide (the releases list unreadable, or a tag older than `release-channels` such
|
||||
as `v0.1.0-rc.2` published again) it warns and moves neither, and still pushes the version's image. `:nightly`
|
||||
stays the nightly build of `main`, for testing only (owner review 2, R1).
|
||||
- Release workflow: the tag must be SemVer 2.0 without build metadata (no leading zeros such as `v01.2.0`, no empty
|
||||
identifiers); any other tag is refused before anything is built.
|
||||
- Desktop: About is the last page of Settings and the rail keeps Settings alone at the bottom. *Check for updates*
|
||||
and the Releases link are on Settings › Updates; the data folder and the diagnostics bundle are on Settings ›
|
||||
Advanced only (About's own copies of those buttons are gone) (owner review 2, R5).
|
||||
|
||||
Reference in new issue
Block a user