openclaw/scripts/runtime-postbuild-stamp.mts
Peter Steinberger 422f40dde7
test(build): import stamp writers from their shared owner (#133974)
* test(build): remove unused stamp CLI re-exports

* fix(test): preserve build-stamp regression routing
2026-08-31 03:38:16 -07:00

14 lines
445 B
TypeScript

#!/usr/bin/env node
// Writes the runtime postbuild stamp after generated runtime artifacts are current.
import process from "node:process";
import { pathToFileURL } from "node:url";
import { writeRuntimePostBuildStamp } from "./lib/local-build-metadata.mts";
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
try {
writeRuntimePostBuildStamp();
} catch (error) {
console.error(error);
process.exit(1);
}
}