fix: beta workflow (#6708)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
This commit is contained in:
Copilot 2026-01-13 18:24:30 +08:00 committed by GitHub
parent 4e68b8d049
commit 85863bdb97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,6 @@ import {
createReleasePR,
} from "./lib.mjs";
import semver from "semver";
import { spawnSync } from "node:child_process";
const repoNames = getRepoNames();
const version = process.env.RELEASE_BETA_VERSION;
@ -51,10 +50,7 @@ await checkTagExists(repoNames, version);
// node extra/beta/update-version.js
execSync("node ./extra/beta/update-version.js");
// Git Push
spawnSync("git", ["push", "origin", branchName], { stdio: "inherit" });
// Create Pull Request
// Create Pull Request (gh pr create will handle pushing the branch)
await createReleasePR(version, previousVersion, dryRun, branchName, githubRunId);
// Build frontend dist