31420

Reproduction repo for Discussion 31420.

Current behavior

When tracking tags in .gitmodules, if a submodule uses branches with semver naming, renovate will update to branches instead of only tracking tags.

Expected behavior

When tracking tags in .gitmodules, renovate only updates to tags with a higher version, not to branches with names that match the semver pattern of a higher version.

Link to the Renovate issue or Discussion

renovatebot/renovate#31420