Fix settings search id generation

This commit is contained in:
Rob Lourens
2018-07-08 22:30:39 -07:00
parent 0ce2da8220
commit bbafa06a3d

View File

@@ -508,7 +508,7 @@ function getSettingsSearchBuildId(packageJson) {
/\/master$/.test(branch) ? 1 :
2; // Some unexpected branch
const out = cp.execSync(`git rev-list master --count`);
const out = cp.execSync(`git rev-list HEAD --count`);
const count = parseInt(out.toString());
// <version number><commit count><branchId (avoid unlikely conflicts)>