puppeteer/utils
Andrey Lushnikov b7e922b5f5
chore: fix puppeteer@next race condition (#3209)
When we merge commits to master, Travis kicks job to build a new commit
and to publish new version of puppeteer@next.

If two commits are landed in almost the same time, then travis starts
two parallel jobs to build each commit. This race condition results
in the incorrect puppeteer@next revision.

This patch teaches apply_next_version.js to verify if current HEAD
is matching upstream HEAD. If it doesn't, the predeploy hook fails
which (hopefully) aborts deployment.

Fixes #2925.
2018-09-06 20:57:35 +01:00
..
doclint chore: preserve links to master version of API from README.md (#3197) 2018-09-05 20:33:04 +01:00
node6-transform fix(node6): fix one line await arrow functions #2198 2018-03-15 14:54:23 -07:00
protocol-types-generator chore(types): generate protocol.d.ts on install (#2625) 2018-05-29 15:23:32 -07:00
testrunner feat: introduce puppeteer/Errors (#3056) 2018-08-09 16:51:12 -07:00
apply_next_version.js chore: fix puppeteer@next race condition (#3209) 2018-09-06 20:57:35 +01:00
check_availability.js chore: stop using console.assert everywhere (#2646) 2018-05-31 16:53:51 -07:00
ESTreeWalker.js Fix node6 support for Object.entries and URL object (#548) 2017-08-25 15:13:59 -07:00
fetch_devices.js fix(devicedescriptors): fix UA in DeviceDescriptors (#2741) 2018-06-14 13:55:09 -07:00
prepare_puppeteer_core.js feat: prepare for publishing puppeteer-core (#3047) 2018-08-08 15:14:23 -07:00