fix(pipeline): preserve package manifest ownership
This commit is contained in:
@@ -396,10 +396,8 @@ function compressCesiumGlb(area) {
|
||||
finishedAt: new Date(finished).toISOString(),
|
||||
durationMs: finished - started,
|
||||
inputs: {},
|
||||
outputs: {
|
||||
glb: fileRecord(area.outputs.glb),
|
||||
metadata: fileRecord(area.outputs.metadata),
|
||||
},
|
||||
// package promotes these staged files, so only its manifest owns final paths.
|
||||
outputs: {},
|
||||
summary: {
|
||||
sourceGlb: glbSummary(sourceDigest),
|
||||
glb: glbSummary(compressedDigest),
|
||||
|
||||
@@ -478,12 +478,18 @@ function stageManifestStatus(area, configPath = null) {
|
||||
},
|
||||
{
|
||||
stage: "compress",
|
||||
expected: fs.existsSync(area.outputs.glb),
|
||||
expected: fs.existsSync(stageManifestPath(area, "compress")),
|
||||
inputs: {},
|
||||
outputs: {},
|
||||
},
|
||||
{
|
||||
stage: "package",
|
||||
expected: fs.existsSync(area.outputs.packageManifest),
|
||||
inputs: {},
|
||||
outputs: {
|
||||
glb: area.outputs.glb,
|
||||
metadata: area.outputs.metadata,
|
||||
cesiumPreview: area.outputs.cesiumPreview,
|
||||
packageDir: area.outputs.packageDir,
|
||||
manifest: area.outputs.packageManifest,
|
||||
primaryGlb: area.outputs.packagePrimaryGlb,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user