1
0
Fork 0

feat(version): add build metadata fields

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Jason Fraley 2026-08-27 18:36:11 -04:00
parent d518b13f36
commit 7490f34267
2 changed files with 5 additions and 1 deletions

View file

@ -5,5 +5,7 @@ export interface VersionInfo {
commitHash: string | null;
commitDate: string | null;
commitSubject: string | null;
lastUpdated: string | null;
commitMessage: string | null;
buildTime: string | null;
}

View file

@ -72,6 +72,8 @@ function main(): void {
commitHash,
commitDate,
commitSubject,
lastUpdated: commitDate ?? buildTime,
commitMessage: commitSubject,
buildTime,
};
@ -89,4 +91,4 @@ function main(): void {
console.log(`[version-info] wrote src/generated/versionInfo.json (${label})`);
}
main();
main();