Skip to content

Commit

Permalink
Merge pull request #4975 from Tyriar/tyriar/v5_4_x
Browse files Browse the repository at this point in the history
Fix publishing of stable
  • Loading branch information
Tyriar committed Mar 1, 2024
2 parents cff944f + 6ca8dc5 commit 9a512d1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/publish.js
Expand Up @@ -57,9 +57,8 @@ function checkAndPublishPackage(packageDir) {
const packageJson = require(path.join(packageDir, 'package.json'));

// Determine if this is a stable or beta release
// TODO: Uncomment when publishing 5.4
// const publishedVersions = getPublishedVersions(packageJson);
const isStableRelease = false; //!publishedVersions.includes(packageJson.version);
const publishedVersions = getPublishedVersions(packageJson);
const isStableRelease = !publishedVersions.includes(packageJson.version);

// Get the next version
let nextVersion = isStableRelease ? packageJson.version : getNextBetaVersion(packageJson);
Expand Down

0 comments on commit 9a512d1

Please sign in to comment.