fix: remove explicit git push in beta release to avoid branch protection conflicts
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
This commit is contained in:
parent
533abf08f7
commit
c82b612763
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user