fix: beta workflow again again (#6704)
This commit is contained in:
parent
a6970c8a63
commit
7dac99ef70
@ -13,6 +13,7 @@ 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,7 +52,7 @@ await checkTagExists(repoNames, version);
|
|||||||
execSync("node ./extra/beta/update-version.js");
|
execSync("node ./extra/beta/update-version.js");
|
||||||
|
|
||||||
// Git Push
|
// Git Push
|
||||||
spawnSync("git", ["push", "origin", branchName]);
|
spawnSync("git", ["push", "origin", branchName], { stdio: "inherit" });
|
||||||
|
|
||||||
// Create Pull Request
|
// Create Pull Request
|
||||||
await createReleasePR(version, previousVersion, dryRun, branchName, githubRunId);
|
await createReleasePR(version, previousVersion, dryRun, branchName, githubRunId);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user