change how verison identifier works

This commit is contained in:
Enstrayed
2024-12-29 15:57:58 -08:00
parent 188dba2a4a
commit c1e166d8d4
2 changed files with 2 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ const globalConfig = await fetch(`${process.env.API_DBHOST}/config/${process.env
return response.json()
}
})
const globalVersion = execSync(`git show --oneline -s`).toString().split(" ")[0]
var globalVersion = execSync(`git show --oneline -s`).toString().split(" ")[0]
// Returns ISO 8601 Date & 24hr time for UTC-7/PDT
const startTime = new Date(new Date().getTime() - 25200000).toISOString().slice(0,19).replace('T',' ')