mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Add todo comments for uncomment publish script
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user