Skip to content

Commit

Permalink
Add todo comments for uncomment publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Nov 1, 2023
1 parent b4b1287 commit d95f017
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const addonPackageDirs = [
console.log(`Checking if addons need to be published`);
for (const p of addonPackageDirs) {
const addon = path.basename(p);
// TODO: Uncomment after first publish
// if (changedFiles.some(e => e.includes(addon))) {
console.log(`Try publish ${addon}`);
checkAndPublishPackage(p);
Expand All @@ -57,6 +58,7 @@ function checkAndPublishPackage(packageDir) {
const packageJson = require(path.join(packageDir, 'package.json'));

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

Expand Down

0 comments on commit d95f017

Please sign in to comment.