Skip to content

Hardcode codex in the README template's badge links - #176

Merged
Travja merged 1 commit into
devfrom
claude/fix-readme-template
Oct 23, 2026
Merged

Travja merged 1 commit into
devfrom
claude/fix-readme-template

Conversation

@Travja

@Travja Travja commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

A follow-up fix to #166.

doc/README.md is the template that the publish profile renders into README.md. #166 wrote its new badges with ${project.artifactId}, which is codex-parent at the root pom. So any -P publish build, the release build included, rendered badges pointing at a magemonkeystudio/codex-parent repo that doesn't exist. CI no longer commits the rendered README, so the README on GitHub is still correct. But a local -P publish build would leave a broken README behind to commit.

This hardcodes codex in the four badge lines. The rest of the template is unchanged; the dependency snippet already uses codex. Divinity and Fabled are single-module, so ${project.artifactId} is right there.

Testing: after mvn -N process-resources -P publish -Drevision=1.2.0, README.md is unchanged.


Generated by Claude Code

The badges in doc/README.md used ${project.artifactId}, which is
codex-parent at the root pom. The publish profile renders README.md
from this template, so a local -P publish build rewrote the badges to
point at a codex-parent repo that doesn't exist. Divinity and Fabled
are single-module, so the expression is correct there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Secz6aiBJ7U8im8tnYhyLA
@Travja Travja added the build:patch label Oct 23, 2026 — with Claude
@Travja
Travja merged commit 20da3ba into dev Oct 23, 2026
2 of 3 checks passed
@Travja
Travja deleted the claude/fix-readme-template branch October 24, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants