fix: purge the old checksum signature with packs

The stale-pack purge kept its own list of release files and left
SHA256SUMS.txt.sig behind, which a skipped signing step then published
beside a new checksum list. release.sums now owns the release set.
This commit is contained in:
Abdessamad Derraz committed 2026-11-24 01:14:05 +01:00
1 parent e51dc14d7b
commit 8348ba1f32
7 files changed
+42 -15

No files matched your search

+2 -8
View File
@@ -17,6 +17,7 @@ from orchestrate import runner
from orchestrate.labels import STEP_LABELS, skip_notice
from orchestrate.results import SKIPPED
from packs.datadirs import hold_data_dirs
from release.sums import release_set_files
def scratch_file(prefix: str) -> str:
@@ -98,14 +99,7 @@ def purge_stale_packs(output_dir: str) -> None:
return
try:
with artifact_lock(str(out_dir)):
stale = [
p for p in out_dir.iterdir()
if p.is_file() and (
p.suffix == ".zip"
or ".zip." in p.name
or p.name == "SHA256SUMS.txt"
)
]
stale = release_set_files(out_dir)
for p in stale:
p.unlink()
if stale: