fix(build): stamp runtime postbuild artifacts

This commit is contained in:
Peter Steinberger
2026-04-28 07:56:00 +01:00
parent 3256cf4fc7
commit acea3f2465
28 changed files with 410 additions and 96 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env node
import process from "node:process";
import { pathToFileURL } from "node:url";
import { writeRuntimePostBuildStamp } from "./lib/local-build-metadata.mjs";
export {
RUNTIME_POSTBUILD_STAMP_FILE,
writeRuntimePostBuildStamp,
} from "./lib/local-build-metadata.mjs";
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
try {
writeRuntimePostBuildStamp();
} catch (error) {
console.error(error);
process.exit(1);
}
}