Maybe?
This commit is contained in:
parent
ee48b991e1
commit
cb960e268a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue