refactor(catalog): register focused Harmony plugins and accelerate mainland CI
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user