Merge branch 'master' into fix/issue-6025-webhook-up-notification

This commit is contained in:
Saber 2026-01-13 07:42:43 -08:00 committed by GitHub
commit a529ad888f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 7 deletions

View File

@ -41,9 +41,11 @@ jobs:
- name: Create release branch
env:
VERSION: ${{ inputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git"
# Delete remote branch if it exists
git push origin --delete "release-${VERSION}" || true
# Delete local branch if it exists

View File

@ -58,8 +58,8 @@ function commit(version) {
throw new Error("commit error");
}
res = childProcess.spawnSync("git", ["push", "origin", "master"]);
console.log(res.stdout.toString().trim());
// Note: Push is handled by gh pr create in the release script
// No need to push here as we're on a release branch, not master
}
/**

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