From 0501a424b21a6156f26354db496c4e91131f2ffa Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 3 Sep 2022 15:20:35 +0200 Subject: [PATCH] build: use 7 digit edge hashes --- scripts/package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package.js b/scripts/package.js index 74eedd80e303..dddea358f958 100644 --- a/scripts/package.js +++ b/scripts/package.js @@ -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 () {