Skip to content

Commit b4a37a8

Browse files
markdalgleishbrophdawg11
authored andcommitted
Fix publish script (#12732)
1 parent 85fb8e9 commit b4a37a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/publish.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ async function run() {
8484
);
8585

8686
// 2. Determine the appropriate npm tag to use
87-
let publishBranch;
87+
let releaseBranch;
8888
let tag;
8989
if (version.includes("experimental")) {
9090
tag = "experimental";
9191
} else if (version.includes("nightly")) {
9292
tag = "nightly";
9393
} else if (version.startsWith("6.")) {
94-
publishBranch = "release-v6";
94+
releaseBranch = "release-v6";
9595
tag = null;
9696
} else if (version.startsWith("7.")) {
97-
publishBranch = "release-next";
97+
releaseBranch = "release-next";
9898
tag = semver.prerelease(version) == null ? "latest" : "pre";
9999
}
100100

0 commit comments

Comments
 (0)