mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
build: use 7 digit edge hashes
This commit is contained in:
parent
4f11d3c1a5
commit
0501a424b2
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user