Use 7 chars for git commit hash, not 8

Consistent with GitHub
cshd
Dragory 2020-11-22 13:15:34 +02:00
parent daf7cb5deb
commit 18da383673
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ function getPrettyVersion() {
const headCommitHash = getHeadCommitHash();
return headCommitHash
? `v${packageVersion} (${headCommitHash.slice(0, 8)})`
? `v${packageVersion} (${headCommitHash.slice(0, 7)})`
: packageVersion;
}