diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/environment.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/environment.js b/scripts/environment.js index 0468be3720..759a7f2a42 100755 --- a/scripts/environment.js +++ b/scripts/environment.js @@ -23,7 +23,7 @@ if (pr) { }); } else { const head = process.env['CIRCLE_SHA1']; - for (const sha of execSync(`git rev-list --max-count=10 ${head}`).toString().trim().split('\n')) { + for (const sha of execSync(`git rev-list --max-count=500 ${head}`).toString().trim().split('\n')) { const base = execSync(`git branch -r --contains ${sha} origin/master origin/release-*`).toString().split('\n')[0].trim().replace(/^origin\//, ''); if (base) { const mergeBase = execSync(`git merge-base origin/${base} ${head}`).toString().trim(); |