make build id smaller
All checks were successful
deploy / deploy (push) Successful in 48s

This commit is contained in:
Lee 2023-10-18 02:32:47 +01:00
parent b8795de9e2
commit 90bc3b8fa1

@ -15,7 +15,7 @@ const production = !process.env.ROLLUP_WATCH;
let buildVersion;
if (production) {
buildVersion = process.env.GIT_REV; // latest commit hash
buildVersion = process.env.GIT_REV.substring(0, 7); // latest commit hash
} else {
buildVersion = execSync("git rev-parse --short HEAD").toString();
}