Skip to content

Commit

Permalink
build: use 7 digit edge hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 3, 2022
1 parent 4f11d3c commit 0501a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package.js
Expand Up @@ -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 () {
Expand Down

0 comments on commit 0501a42

Please sign in to comment.