@wipcomputer/wip-release 1.9.49 → 1.9.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core.mjs +14 -0
- package/package.json +1 -1
package/core.mjs
CHANGED
|
@@ -388,6 +388,20 @@ function checkProductDocs(repoPath) {
|
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
+
// 4. Product update doc: modified since last tag
|
|
392
|
+
const productUpdateDir = join(aiDir, 'dev-updates', 'product-update');
|
|
393
|
+
if (existsSync(productUpdateDir)) {
|
|
394
|
+
const puFiles = readdirSync(productUpdateDir).filter(f => f.endsWith('.md'));
|
|
395
|
+
if (puFiles.length > 0) {
|
|
396
|
+
const anyModified = puFiles.some(f =>
|
|
397
|
+
fileModifiedSinceLastTag(repoPath, `ai/dev-updates/product-update/${f}`)
|
|
398
|
+
);
|
|
399
|
+
if (!anyModified) {
|
|
400
|
+
missing.push('ai/dev-updates/product-update/ (product update doc not updated since last release)');
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
391
405
|
return { missing, ok: missing.length === 0, skipped: false };
|
|
392
406
|
}
|
|
393
407
|
|
package/package.json
CHANGED