mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
should work this time
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
3b49dc9318
commit
3f3f0d1554
@ -111,7 +111,6 @@ npmVersionArgs.push("--git-tag-version false");
|
||||
|
||||
execSync(npmVersionArgs.join(" "), { stdio: "ignore" });
|
||||
|
||||
const newBranchName = execSync("git branch --show-current", { encoding: "utf-8" });
|
||||
const newVersion = new SemVer(readJsonSync("./package.json").version);
|
||||
|
||||
const getMergedPrsArgs = [
|
||||
@ -181,14 +180,14 @@ if (maintenencePrs.length > 0) {
|
||||
);
|
||||
}
|
||||
|
||||
execSync(`git push --set-upstream origin ${newBranchName}`);
|
||||
execSync(`git push origin HEAD -u`);
|
||||
|
||||
const prBody = prBodyLines.join("\n");
|
||||
|
||||
const createPrArgs = [
|
||||
"pr",
|
||||
"create",
|
||||
"--base", `origin/${prBase}`,
|
||||
"--head", `origin/${newBranchName}`,
|
||||
"--base", prBase,
|
||||
"--title", `release ${newVersion.format()}`,
|
||||
"--label", "skip-changelog",
|
||||
"--body-file", "-",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user