build: use 7 digit edge hashes

This commit is contained in:
Pooya Parsa 2022-09-03 15:20:35 +02:00
parent 4f11d3c1a5
commit 0501a424b2

View File

@ -372,7 +372,7 @@ export default class Package {
gitShortCommit () {
const { stdout } = this.exec('git', 'rev-parse --short HEAD', true)
return stdout
return stdout.trim().substring(0, 7) // 7 to be consistent with github and nuxt3
}
gitBranch () {