Release 2.0.0-beta.4 (#6104)

This commit is contained in:
Louis Lam
2025-09-05 12:55:03 +08:00
committed by GitHub
parent 0e30c43a80
commit c6048d56b4
6 changed files with 22 additions and 30 deletions

View File

@@ -8,7 +8,7 @@ import {
checkVersionFormat,
getRepoNames,
pressAnyKey,
execSync, uploadArtifacts,
execSync, uploadArtifacts, checkReleaseBranch,
} from "./lib.mjs";
import semver from "semver";
@@ -23,6 +23,9 @@ if (!githubToken) {
process.exit(1);
}
// Check if the current branch is "release"
checkReleaseBranch();
// Check if the version is a valid semver
checkVersionFormat(version);