fix: remove incorrect push to master in beta update-version.js

The update-version.js script was pushing to 'origin master' instead of
the current release branch. This caused the PR creation to fail because
there were no commits between master and the release branch (since the
commit was pushed to master, not the release branch).

The push is now removed from update-version.js because gh pr create
will handle pushing the release branch when creating the PR.

Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-13 10:30:57 +00:00
parent bd63197637
commit 5181c56959

View File

@ -58,8 +58,8 @@ function commit(version) {
throw new Error("commit error");
}
res = childProcess.spawnSync("git", ["push", "origin", "master"]);
console.log(res.stdout.toString().trim());
// Note: Push is handled by gh pr create in the release script
// No need to push here as we're on a release branch, not master
}
/**