Commit Graph
2 Commits
Author SHA1 Message Date
Lauri Ojansivu 6f6e78a9a0 Fix assignee bundle dependency and require upcoming release notes
Use existing native date formatting instead of the removed Moment dependency. Check real Upcoming entries before release tool installation or mutations, including explicit version overrides. Cover missing, empty and duplicate notes with read-only regression tests.
2026-09-14 04:34:58 +03:00
Lauri Ojansivu 96157ef41c Stop release-all.sh from inheriting and widening a version-number gap.
The next release version was computed by measuring the gap between the two
newest "# vNN.MM" headings in CHANGELOG.md and re-applying that same gap,
instead of always advancing by one. That is not self-correcting: if a release
number was ever prepared and never published, and its CHANGELOG section was
deleted outright instead of renamed back to "# Upcoming WeKan (R) release"
(this script's own documented recovery for a release that never published),
the two remaining headings were left 2 apart. The script read that as "the
cadence is +2 now" and reapplied it every following release, turning one
incident into a permanent, ever-widening habit of skipping a number - exactly
how v11.56 -> v11.58 -> v11.60 -> v11.62 happened, silently skipping v11.57,
v11.59 and v11.61 (v11.33 and v11.54 were skipped by the same bug earlier).

The step is now a fixed +1 with no history lookup, and the other code path
(resuming an already-renamed release) hard-fails instead of printing
"proceeding anyway" when the newest heading is not exactly +1 from the
previous one, so a future gap is caught before it can be built on.

tests/releaseAllVersionStep.test.cjs pins the fixed +1 step and the hard
failure. The GitHub workflow itself (release-all.yml) needed no change: it
only ever uses the old_version/new_version this script hands it and never
computes a step of its own.

Thanks to xet7.
2026-09-08 23:03:22 +03:00