Update git-utils.ts
This commit is contained in:
@@ -10,13 +10,7 @@ interface GitInfo {
|
||||
}
|
||||
|
||||
let cachedGitInfo: GitInfo | null = null;
|
||||
|
||||
/**
|
||||
* Gets the current git commit hash from various sources
|
||||
* - First tries environment variable (from Docker)
|
||||
* - Then tries the JSON file created by our build script
|
||||
* - Returns "dev" if nothing is available
|
||||
*/
|
||||
|
||||
export async function getGitCommitInfo(): Promise<GitInfo> {
|
||||
return gitInfo;
|
||||
}
|
||||
Reference in New Issue
Block a user