Restrict Curios Renovate updates to matching MC versions - #99
Merged
Merged
Conversation
Curios versions end with +<mc version>, so without this Renovate proposed 26.3 builds for the 1.21.1 and 26.1.2 packs (e.g. #94). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RR4D2pnFdhtTzJpTf9EhqK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Curios versions end with
+<mc version>(e.g.15.0.0+26.1.2), but Renovate compared them only by the leading number. So it proposed17.0.0-beta+26.3for both the 1.21.1 and 26.1.2 packs in #94.This adds per-MC
allowedVersionsrules forcurios-neoforge, the same approach already used for TheOneProbe, TerraBlender and Architectury. Checked against the Curios maven metadata:1.21.1/\+1\.21\.1$/9.2.0...9.5.1+1.21.126.1*/\+26\.1(\.\d+)?$/15.0.0-beta.1+26.1,15.0.0-beta.2+26.1.2,15.0.0+26.1.226.3*/\+26\.3(\.\d+)?$/17.0.0-beta+26.3,17.0.0-beta.2+26.3renovate-config-validatorpasses.Note: the 1.21.1 all-deps pack currently pins
7.4.3+1.20.4, a 1.20.4 build. With this rule, Renovate will propose9.5.1+1.21.1for it.Once this is merged, #94 should be closed or updated by Renovate.
🤖 Generated with Claude Code
https://claude.ai/code/session_01RR4D2pnFdhtTzJpTf9EhqK
Generated by Claude Code