mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-02 08:15:56 +01:00
refactor: remove rollout duration for insider builds in release process (#301496)
This commit is contained in:
@@ -66,15 +66,8 @@ async function main(force: boolean): Promise<void> {
|
||||
|
||||
console.log(`Releasing build ${commit}...`);
|
||||
|
||||
let rolloutDurationMs = undefined;
|
||||
|
||||
// If the build is insiders or exploration, start a rollout of 4 hours
|
||||
if (quality === 'insider') {
|
||||
rolloutDurationMs = 4 * 60 * 60 * 1000; // 4 hours
|
||||
}
|
||||
|
||||
const scripts = client.database('builds').container(quality).scripts;
|
||||
await retry(() => scripts.storedProcedure('releaseBuild').execute('', [commit, rolloutDurationMs]));
|
||||
await retry(() => scripts.storedProcedure('releaseBuild').execute('', [commit]));
|
||||
}
|
||||
|
||||
const [, , force] = process.argv;
|
||||
|
||||
Reference in New Issue
Block a user