This commit is contained in:
HangerThem 2026-08-03 18:15:21 +02:00
parent ee48b991e1
commit cb960e268a

View file

@ -3,8 +3,8 @@
* @returns The current Git commit hash, or null if it cannot be determined. * @returns The current Git commit hash, or null if it cannot be determined.
*/ */
export async function getGitCommitHash(): Promise<string | null> { export async function getGitCommitHash(): Promise<string | null> {
if (process.env.GIT_COMMIT_HASH) { if (process.env.SOURCE_COMMIT) {
return process.env.GIT_COMMIT_HASH return process.env.SOURCE_COMMIT
} }
try { try {