We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85fb8e9 commit b4a37a8Copy full SHA for b4a37a8
scripts/publish.js
@@ -84,17 +84,17 @@ async function run() {
84
);
85
86
// 2. Determine the appropriate npm tag to use
87
- let publishBranch;
+ let releaseBranch;
88
let tag;
89
if (version.includes("experimental")) {
90
tag = "experimental";
91
} else if (version.includes("nightly")) {
92
tag = "nightly";
93
} else if (version.startsWith("6.")) {
94
- publishBranch = "release-v6";
+ releaseBranch = "release-v6";
95
tag = null;
96
} else if (version.startsWith("7.")) {
97
- publishBranch = "release-next";
+ releaseBranch = "release-next";
98
tag = semver.prerelease(version) == null ? "latest" : "pre";
99
}
100
0 commit comments