Skip to content

Generalise README version bumping to any library - #28

Merged
halotukozak merged 1 commit into
masterfrom
generalize-readme-version-bump
Aug 28, 2026
Merged

Generalise README version bumping to any library#28
halotukozak merged 1 commit into
masterfrom
generalize-readme-version-bump

Conversation

@halotukozak

Copy link
Copy Markdown
Collaborator

Follow-up to #26. The README manager was hardcoded to com.halotukozak:commons. Make it work for any library named in a README install snippet.

Change

Drop the commons-specific manager and fold README into the two existing project.scala custom managers, adding sbt coordinate syntax to each:

manager scala-cli sbt
cross-built (_3, sbt-package) org::name[:]:ver "org" %% "name" % "ver"
plain Maven (maven) org:name:ver "org" % "name" % "ver"

Verified against the current files: both README snippet lines resolve to the single dep com.halotukozak:commons_3 → one grouped PR; project.scala matching is unchanged (munit, scala3-compiler); the two managers never match the same line.

This also makes the synced renovate.json useful in made/mcodec/mrpc/regex, where the README snippet names a different artifact.

🤖 Generated with Claude Code

Fold the README install snippets into the two existing project.scala
custom managers instead of a commons-specific one, and teach both the sbt
coordinate syntax:
- manager 1 (cross-built): scala-cli `org::name[:]:ver` and sbt `"org" %% "name" % "ver"`
- manager 2 (plain Maven): scala-cli `org:name:ver` and sbt `"org" % "name" % "ver"`

Any dependency shown in a README install block is now tracked, which also
makes the synced renovate.json useful in the downstream repos where the
snippet names a different artifact.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019awuXm5QZgXajLw3PvGo1s
@halotukozak
halotukozak merged commit 0876009 into master Aug 28, 2026
7 checks passed
@halotukozak
halotukozak deleted the generalize-readme-version-bump branch August 28, 2026 11:40
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.

1 participant