refactor(catalog): register focused Harmony plugins and accelerate mainland CI

This commit is contained in:
2026-09-11 10:37:01 +08:00
parent 5802042e10
commit 235cad0733
9 changed files with 86 additions and 32 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export async function releasePlan(entriesFile, tag) {
for (const entry of entries) {
const manifest = entry.manifest;
if (!config.ids.includes(manifest.id) || !valid(manifest.version)) throw new Error('Unexpected plugin identity/version');
if (!config.suite && tag !== `v${manifest.version}`) throw new Error('Release tag must match curio.json');
if (tag !== `v${manifest.version}`) throw new Error('Release tag must match curio.json');
if (!['any', 'aarch64-apple-darwin', 'x86_64-apple-darwin'].includes(entry.artifact.target)) throw new Error('Unsupported package target');
const bytes = await readFile(entry.file);
if (digest(bytes) !== entry.artifact.sha256 || bytes.length !== entry.artifact.size) throw new Error('Package differs from build metadata');