mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 15:07:33 +08:00
use git short revision style
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ export default {
|
||||
let commitHash = process.env.COMMIT_HASH;
|
||||
|
||||
if (commitHash) {
|
||||
return `${version} (${commitHash.substr(0, Math.min(10, commitHash.length))})`
|
||||
return `${version} (${commitHash.substr(0, Math.min(7, commitHash.length))})`
|
||||
} else {
|
||||
return version;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user