use short git commit hash
This commit is contained in:
1 parent
e73fc9ab72
commit
76a57af5a0
1 file changed
+1
-1
@@ -16,7 +16,7 @@ if (gitStatus.stdout !== '') {
|
|||||||
shell.exit(1);
|
shell.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
const gitCommitHash = shell.exec('git rev-parse HEAD').stdout.trim();
|
const gitCommitHash = shell.exec('git rev-parse --short HEAD').stdout.trim();
|
||||||
|
|
||||||
["playlet-app/src/manifest", "playlet-lib/src/manifest"].forEach(function (manifestPath) {
|
["playlet-app/src/manifest", "playlet-lib/src/manifest"].forEach(function (manifestPath) {
|
||||||
let appManifestContent = fs.readFileSync(manifestPath, { encoding: 'utf8', flag: 'r' });
|
let appManifestContent = fs.readFileSync(manifestPath, { encoding: 'utf8', flag: 'r' });
|
||||||
|
|||||||
Reference in new issue
Block a user