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];
|
||||||
@ -137,6 +136,7 @@ async function updateVersionFileLastMaintained(currentVersion, updateVersion) {
|
|||||||
`const lastMaintainedChromeVersion = '${nextMaintainedVersion}';`
|
`const lastMaintainedChromeVersion = '${nextMaintainedVersion}';`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const {version, revision} = await getVersionAndRevisionForStable();
|
const {version, revision} = await getVersionAndRevisionForStable();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user