pi-ext
bugabingas pi extensions
owned by bugabinga
release: expose CI manifest for v0.1.7
6334f5250a92eabea14e1ba0921685713bd23157
Oliver Jan Krylow <oliver@bugabinga.net> ·
SSH signature · not checked
Browse filesCompare with HEAD
Changed files (6)
17 17 run "CI=true MOZ_DISABLE_CONTENT_SANDBOX=1 xvfb-run -a mise run //:ci" 18 18 artifact "release" {
19 - path ".pi/tmp/release-artifacts/manifest.json" 19 + path "release-manifest.json" 4 +/release-manifest.json 8 +- Expose the release checksum manifest at a flat CI artifact path
9 +- Keep release archives gated by the complete CI suite and relocated package validation
8 13 - Keep FFmpeg active inside the nested Chrome E2E task
package-lock.json
Modified 4 4 "lockfileVersion":
3,
scripts/build/release.ts
Modified 86 86 mkdirSync(scratch, { recursive:
true });
87 87 const stage
= mkdtempSync(
join(scratch,
"release-"));
88 88 const output
= join(scratch,
"release-artifacts");
89 + const manifestOutput
= join(ROOT,
"release-manifest.json");
91 + rmSync(manifestOutput, { force:
true });
90 92 rmSync(output, { recursive:
true, force:
true });
91 93 mkdirSync(output, { recursive:
true });
92 94 const packages
= [];
123 125 throw new Error(
`Collection: ${JSON.stringify(collection)}`);
124 126 const file
= `pi-ext-${version}.tgz`;
125 127 const sha256
= archivePackage(stage,
join(output, file), scratch);
127 - join(output,
"manifest.json"),
128 - `${JSON.stringify({ version, collection: { file, sha256, digest: treeDigest(stage) }, extensions: receipts }, null, "\t")}\n`,
128 + const manifest
= `${JSON.stringify({ version, collection: { file, sha256, digest: treeDigest(stage) }, extensions: receipts }, null, "\t")}\n`;
129 + writeFileSync(
join(output,
"manifest.json"), manifest);
131 + writeFileSync(manifestOutput, manifest);
131 133 `OK release pi-ext@${version}: ${packages.length} extensions; ${output}`,
133 135 }
catch (error) {
136 + rmSync(manifestOutput, { force:
true });
134 137 rmSync(output, { recursive:
true, force:
true });