Recover releases from independently retried CI packaging (#15)
Gitea CI / Check code and tests (push) Failing after 11m29s
Gitea CI / Build Android APK (push) Skipped
Gitea CI / Build Windows x64 app (push) Skipped
Gitea CI / Audit and package Windows x64 (push) Skipped
Gitea CI / Assemble and validate CI artifacts (push) Skipped
Gitea CI / Gitea CI passed (push) Failing after 2s

This commit was merged in pull request #15.
This commit is contained in:
lingjhf committed 2026-10-11 20:52:05 +00:00
1 parent 06f1c26681
commit 8785eaf095
7 files changed
+185 -34

No files matched your search

+10 -1
View File
@@ -77,7 +77,11 @@ Android and Windows independently download their platform artifacts from the
selected CI run and immediately upload them to the draft. These jobs run in
parallel. The final job accepts only the compact metadata artifact from that same
CI run. Complete binary archives cannot substitute for platform packages or
metadata. Missing, expired or duplicate required artifacts block preparation
metadata. Gitea can retain old artifact API rows after a job rerun despite overwrite.
Selection requires the exact CI run and source commit, and exactly one artifact
created within its current successful producer job's execution interval. Jobs
preserved during a partial rerun retain their original intervals and artifacts.
Missing, expired or ambiguous artifacts in that interval block preparation
before any draft is created. Platform uploads check attachment presence without
reading back their bytes. Before publication, every attachment is read back once
and verified against trusted SHA256 checksums; the full update package also
@@ -94,6 +98,11 @@ operator attention. Published Releases are never overwritten. The built-in
GITEA_TOKEN handles release writes and Actions artifact reads; no separate
release-write PAT is required. Do not commit credentials or keystores.
Release tools are checked out at the workflow's exact commit; tagged application
source is checked out separately in `.release-source`. A manual dispatch on main
can therefore apply a reviewed release-tool fix to an existing tag without moving
that tag or substituting another application's version or CI artifacts.
Full-pipeline CI produces Actions artifacts without creating Releases. If a tag is pushed
before main CI succeeds, release preparation fails without creating a draft; retry
the Release workflow once CI has finished. This design overlaps platform uploads,