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:
parent
4e68b8d049
commit
85863bdb97
@ -13,7 +13,6 @@ import {
|
|||||||
createReleasePR,
|
createReleasePR,
|
||||||
} from "./lib.mjs";
|
} from "./lib.mjs";
|
||||||
import semver from "semver";
|
import semver from "semver";
|
||||||
import { spawnSync } from "node:child_process";
|
|
||||||
|
|
||||||
const repoNames = getRepoNames();
|
const repoNames = getRepoNames();
|
||||||
const version = process.env.RELEASE_BETA_VERSION;
|
const version = process.env.RELEASE_BETA_VERSION;
|
||||||
@ -51,10 +50,7 @@ await checkTagExists(repoNames, version);
|
|||||||
// node extra/beta/update-version.js
|
// node extra/beta/update-version.js
|
||||||
execSync("node ./extra/beta/update-version.js");
|
execSync("node ./extra/beta/update-version.js");
|
||||||
|
|
||||||
// Git Push
|
// Create Pull Request (gh pr create will handle pushing the branch)
|
||||||
spawnSync("git", ["push", "origin", branchName], { stdio: "inherit" });
|
|
||||||
|
|
||||||
// Create Pull Request
|
|
||||||
await createReleasePR(version, previousVersion, dryRun, branchName, githubRunId);
|
await createReleasePR(version, previousVersion, dryRun, branchName, githubRunId);
|
||||||
|
|
||||||
// Build frontend dist
|
// Build frontend dist
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user