Commit Graph
5 Commits
Author SHA1 Message Date
BlackAngelTV beca881276 fix(release): only trust a finished asset, replace a broken one
GitHub answers 201 when it accepts an upload, not when the file is stored: the
1.35 GiB transfer died on a DNS hiccup and left a "starter" asset, which the
next run then treated as already published. Only state=uploaded now counts, an
incomplete asset is deleted before the retry, and the result is checked again
after the upload instead of being assumed.
2026-12-04 12:57:28 +01:00
BlackAngelTV 07a581a80b fix(release): report what a failed upload actually means
The first real 1.35 GiB publication failed differently on each forge and the
bare status codes said nothing: Gitea answered 413 from nginx, long before its
own size limit, while GitHub broke on a DNS hiccup mid-transfer and showed an
unreadable "000000". Upload failures now name the cause, and curl retries a
transfer that dies on a transient network error.
2026-12-04 12:49:11 +01:00
BlackAngelTV 386633b092 feat(release): publish an ISO that was built somewhere else
The build needs mount() and loop devices, which a CI job does not always get,
while the publication only needs the API tokens. --iso takes the artefact as an
argument so an image built on the usual host can be released from any machine.
2026-12-04 12:42:10 +01:00
BlackAngelTV 766292a1c3 ci(release): run the build and both releases from a Gitea workflow
The official build and its two publications were started by hand, so a VERSION
bump could stay unpublished indefinitely. Touching VERSION on Main now starts
the workflow, which asks release.sh whether the version line actually changed,
then builds and opens the Gitea and GitHub releases with the ISO attached.
2026-12-04 12:23:31 +01:00
BlackAngelTV 5ddcfe20e0 feat(release): build and publish a new version line on both forges
Bumping VERSION said what shipped, but nothing tied it to an ISO nor to a
release entry: an ISO could be built and never published, or published twice
with different notes. One script now detects the new 0.8.* -> 0.9.* line,
builds through build-offi.sh, then creates or updates the Gitea and GitHub
releases with the ISO attached, so a failed upload is replayed with
--skip-build instead of rebuilding.
2026-12-04 12:18:52 +01:00