replace abbrev-ref with short since abbrev will try to use branch name

This commit is contained in:
Sebastian 2022-01-24 10:58:41 -03:00
parent 97a1e09f6e
commit ec059d42d7
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -50,7 +50,7 @@ export default {
};
function getGitRevision() {
return child_process.execSync(`git rev-parse --abbrev-ref HEAD`, {
return child_process.execSync(`git rev-parse --short HEAD`, {
encoding: 'utf-8',
windowsHide: true,
}).trim();