diff --git a/rollup.config.js b/rollup.config.js index 81a1b1f..d2d2cbb 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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(); }