@wipcomputer/wip-release 1.9.41 → 1.9.42
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/cli.js +2 -1
- package/core.mjs +4 -2
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -77,7 +77,8 @@ let notesSource = (notes !== null && notes !== undefined && notes !== '') ? 'fla
|
|
|
77
77
|
const { readdirSync } = await import('node:fs');
|
|
78
78
|
const devUpdatesDir = join(process.cwd(), 'ai', 'dev-updates');
|
|
79
79
|
if (existsSync(devUpdatesDir)) {
|
|
80
|
-
const
|
|
80
|
+
const d = new Date();
|
|
81
|
+
const today = `${d.getFullYear()}-${String(d.getMonth()+1).padStart(2,'0')}-${String(d.getDate()).padStart(2,'0')}`;
|
|
81
82
|
const todayFiles = readdirSync(devUpdatesDir)
|
|
82
83
|
.filter(f => f.startsWith(today) && f.endsWith('.md'))
|
|
83
84
|
.sort()
|
package/core.mjs
CHANGED
|
@@ -89,7 +89,8 @@ export function syncSkillVersion(repoPath, newVersion) {
|
|
|
89
89
|
*/
|
|
90
90
|
export function updateChangelog(repoPath, newVersion, notes) {
|
|
91
91
|
const changelogPath = join(repoPath, 'CHANGELOG.md');
|
|
92
|
-
const
|
|
92
|
+
const d = new Date();
|
|
93
|
+
const date = `${d.getFullYear()}-${String(d.getMonth()+1).padStart(2,'0')}-${String(d.getDate()).padStart(2,'0')}`;
|
|
93
94
|
|
|
94
95
|
// Bug fix #121: never silently default to "Release." when notes are empty.
|
|
95
96
|
// If notes are empty at this point, warn loudly.
|
|
@@ -579,7 +580,8 @@ function checkInterfaceCoverage(repoPath) {
|
|
|
579
580
|
*/
|
|
580
581
|
function syncProductDocs(repoPath, newVersion) {
|
|
581
582
|
let updated = 0;
|
|
582
|
-
const
|
|
583
|
+
const td = new Date();
|
|
584
|
+
const today = `${td.getFullYear()}-${String(td.getMonth()+1).padStart(2,'0')}-${String(td.getDate()).padStart(2,'0')}`;
|
|
583
585
|
|
|
584
586
|
// 1. roadmap.md
|
|
585
587
|
const roadmapPath = join(repoPath, 'ai', 'product', 'plans-prds', 'roadmap.md');
|
package/package.json
CHANGED