Mario Campos
738bd62186
Refactor changenotes validate to use helper getChangenotes
...
This reduces duplicate code between `assemble` and `validate`. It also has the benefit of fixing a bug in the current implementation of `validate`, where `isValidChangenoteFile` receives a relative file name where it should receive an absolute one.
2026-09-22 09:01:46 -05:00
Mario Campos
c496c6cceb
Rename name to absolutePath for clarity
2026-09-21 16:31:55 -05:00
Mario Campos
a92f7fb688
Refactor changenote file listing into function to D.R.Y.
2026-09-18 15:02:17 -05:00
Mario Campos
7f54212a01
Rename flush command to assemble
2026-09-18 13:49:18 -05:00
Mario Campos
b246e56069
Use ExitCode instead of 0/1
2026-09-18 11:28:17 -05:00
Mario Campos
bffae1c4b8
Use withChangelog I/O helper
2026-09-18 11:24:26 -05:00
Mario Campos
1ee3265262
Add changenotes.mts flush command
...
This command will "flush" or move the changenotes in the `unreleased-change-notes` directory to the `[UNRELEASED]` section of the CHANGELOG.md file.
2026-09-18 11:14:49 -05:00
Mario Campos
e26a5c4139
Be consistent with language and conventions
2026-09-15 09:18:42 -05:00
Mario Campos
f45ef9d1c5
Log something on successful changenote validation
...
Also, slightly improve the log statement of the validation error case.
2026-09-14 12:17:28 -05:00
Mario Campos
a691c16115
Extend changetool to support directories
2026-09-11 16:04:21 -05:00
Michael B. Gale
27a821e701
Rename validate-changelog to changenotes
2026-09-11 14:46:35 +01:00