Skip to content

Commit

Permalink
Add note on stable releases in publish.js
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Jan 16, 2025
1 parent 2ed497b commit d0e474c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,15 @@ async function run() {
} else if (version.includes("nightly")) {
tag = "nightly";
} else if (version.startsWith("6.")) {
// !!! Note: publish.js is not used for prereleases and stable releases.
// We should be using the Changesets CI process for those.
// These code paths are only left here for emergency usages
releaseBranch = "release-v6";
tag = null;
} else if (version.startsWith("7.")) {
// !!! Note: publish.js is not used for prereleases and stable releases.
// We should be using the Changesets CI process for those.
// These code paths are only left here for emergency usages
releaseBranch = "release-next";
tag = semver.prerelease(version) == null ? "latest" : "pre";
}
Expand Down

0 comments on commit d0e474c

Please sign in to comment.