Add todo comments for uncomment publish script

This commit is contained in:
Daniel Imms
2023-11-01 10:49:21 -07:00
parent b4b128709f
commit d95f0177c8
+2
View File
@@ -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);
@@ -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);