Skip to content

Commit d0e474c

Browse files
committed
Add note on stable releases in publish.js
1 parent 2ed497b commit d0e474c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/publish.js

+6
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,15 @@ async function run() {
9191
} else if (version.includes("nightly")) {
9292
tag = "nightly";
9393
} else if (version.startsWith("6.")) {
94+
// !!! Note: publish.js is not used for prereleases and stable releases.
95+
// We should be using the Changesets CI process for those.
96+
// These code paths are only left here for emergency usages
9497
releaseBranch = "release-v6";
9598
tag = null;
9699
} else if (version.startsWith("7.")) {
100+
// !!! Note: publish.js is not used for prereleases and stable releases.
101+
// We should be using the Changesets CI process for those.
102+
// These code paths are only left here for emergency usages
97103
releaseBranch = "release-next";
98104
tag = semver.prerelease(version) == null ? "latest" : "pre";
99105
}

0 commit comments

Comments
 (0)