diff --git a/lib/update-v8/majorUpdate.js b/lib/update-v8/majorUpdate.js index 07d8cb3..d5f9171 100644 --- a/lib/update-v8/majorUpdate.js +++ b/lib/update-v8/majorUpdate.js @@ -40,7 +40,7 @@ function checkoutBranch() { title: 'Checkout V8 branch', task: async(ctx) => { let version = ctx.branch; - await ctx.execGitV8('checkout', 'origin/master'); + await ctx.execGitV8('checkout', 'origin/main'); if (!versionReg.test(version)) { // try to get the latest tag const res = await ctx.execGitV8(