diff --git a/file.ts b/file.ts index 7b44f6c5..cbf1bbc4 100644 --- a/file.ts +++ b/file.ts @@ -755,7 +755,7 @@ async function git_tag() { let { stdout, stderr } = await exec("git rev-parse --short HEAD"); if(stderr) throw stderr; - return stdout; + return stdout.substr(0, 7); } async function main_generate(target: "client" | "web", mode: "rel" | "dev", dest_path: string, args: any[]) {