Skip to content

chore(release): register spring-boot-morphium README for version bumps - #305

Merged
sboesebeck merged 1 commit into
sboesebeck:developfrom
Bardioc1977:fix/release-sh-spring-boot-readme
Aug 17, 2026
Merged

chore(release): register spring-boot-morphium README for version bumps#305
sboesebeck merged 1 commit into
sboesebeck:developfrom
Bardioc1977:fix/release-sh-spring-boot-readme

Conversation

@Bardioc1977

Copy link
Copy Markdown
Collaborator

Follow-up from your #299 approve comment: spring-boot-morphium/README.md was missing from MODULE_README_FILES in release.sh.

While wiring it in, verified the bump actually fires end-to-end rather than assuming registration alone is enough — found two phrasings in the README that wouldn't have matched the existing sed patterns even with the file registered:

  • "currently resolves to X-SNAPSHOT" has words between "currently" and the version; the pattern has no wildcard for that. Reworded to "... is currently X-SNAPSHOT.", matching the phrasing that already works in morphium-jakarta-data/README.md.
  • The prerequisites table still said "Morphium | 6.2.2" — stale from before this module tracked the reactor version in lockstep, and not in the | Morphium | X-SNAPSHOT shape the pattern expects either. Updated to the same "X-SNAPSHOT (built in lockstep as part of the reactor)" phrasing quarkus-morphium/README.md uses.

Verified by copying the file, running the three real sed substitutions from bump_module_readme_snapshots() with a fake target version, confirming all four SNAPSHOT-bearing lines update, then restoring byte-identical (diff-confirmed) before committing the actual fix.

Follow-up Stephan flagged when merging sboesebeck#299: spring-boot-morphium/README.md
was missing from release.sh's MODULE_README_FILES, so it would have kept
pinning a stale SNAPSHOT version on every future release cycle -- exactly
what this array exists to prevent for the other two extension modules.

While verifying the fix actually bumps correctly (not just registering the
file and assuming it works), found two things the existing sed patterns in
bump_module_readme_snapshots() would not have matched even now:

- The "In the Morphium reactor, ... currently resolves to `X-SNAPSHOT`."
  sentence has "resolves to" between "currently" and the version, but the
  pattern is `currently [0-9]+\.[0-9]+\.[0-9]+-SNAPSHOT` -- no wildcard for
  words in between. Reworded to "... is currently X-SNAPSHOT." (matching
  the working phrasing already used elsewhere) so the pattern actually
  fires.
- The prerequisites table's Morphium row still said "6.2.2" -- stale from
  before this module tracked the reactor version in lockstep, and in a
  format the "| Morphium | X-SNAPSHOT" pattern doesn't match either.
  Updated to the same "X-SNAPSHOT (built in lockstep as part of the
  reactor)" phrasing quarkus-morphium/README.md already uses successfully.

Verified end to end: copied the file, ran the exact three sed substitutions
bump_module_readme_snapshots() uses with a fake target version, confirmed
all four SNAPSHOT-bearing lines updated correctly, restored the original
(byte-identical, confirmed via diff) before committing the real fix.
@sboesebeck
sboesebeck merged commit a1b6180 into sboesebeck:develop Aug 17, 2026
1 check passed
@sboesebeck

Copy link
Copy Markdown
Owner

Thanks - all good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants