mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-18 14:41:25 +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 () {
|
gitShortCommit () {
|
||||||
const { stdout } = this.exec('git', 'rev-parse --short HEAD', true)
|
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 () {
|
gitBranch () {
|
||||||
|
Loading…
Reference in New Issue
Block a user