mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
ci: fix Chrome auto-roller (#10330)
This commit is contained in:
parent
7b8f1e2a0d
commit
651a378521
@ -126,7 +126,6 @@ async function updateVersionFileLastMaintained(currentVersion, updateVersion) {
|
|||||||
VERSIONS_PER_RELEASE_COMMENT,
|
VERSIONS_PER_RELEASE_COMMENT,
|
||||||
`${VERSIONS_PER_RELEASE_COMMENT}\n ['${version}', 'NEXT'],`
|
`${VERSIONS_PER_RELEASE_COMMENT}\n ['${version}', 'NEXT'],`
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
||||||
const lastMaintainedIndex = versions.indexOf(lastMaintainedChromeVersion);
|
const lastMaintainedIndex = versions.indexOf(lastMaintainedChromeVersion);
|
||||||
const nextMaintainedVersion = versions[lastMaintainedIndex - 1];
|
const nextMaintainedVersion = versions[lastMaintainedIndex - 1];
|
||||||
@ -136,6 +135,7 @@ async function updateVersionFileLastMaintained(currentVersion, updateVersion) {
|
|||||||
`const lastMaintainedChromeVersion = '${lastMaintainedChromeVersion}';`,
|
`const lastMaintainedChromeVersion = '${lastMaintainedChromeVersion}';`,
|
||||||
`const lastMaintainedChromeVersion = '${nextMaintainedVersion}';`
|
`const lastMaintainedChromeVersion = '${nextMaintainedVersion}';`
|
||||||
);
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const {version, revision} = await getVersionAndRevisionForStable();
|
const {version, revision} = await getVersionAndRevisionForStable();
|
||||||
|
Loading…
Reference in New Issue
Block a user