Skip to content

renovate-reproductions/33005

This branch is up to date with siebertm/renovate-bundler-git-refs-issue-repro:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c342aff · Jan 21, 2025

History

4 Commits
Dec 10, 2024
Dec 10, 2024
Jan 21, 2025
Dec 10, 2024

Repository files navigation

#33005 Reproduction repo for issue with renovate+bundler+git-tags issue

This repository is a reproduction of an issue with renovate, bundler and git tags. (see renovatebot/renovate#33005)

Current behavior

When renovate finds a git dependency in Gemfile and finds an update for it, the tag is applied wrongly.

The relevant part of the Gemfile is:

gem 'rails', '~> 7.2.1', git: 'https://github.com/rails/rails.git', tag: 'v7.2.1'

When running renovate using LOG_LEVEL=debug npx renovate --platform=local, the update to rails is found, but renovate wants to use the tag vv7.2.2 instead of v7.2.2. (note the doubled v)

Expected behavior

The tag used should not duplicate the v. In the specific example, I expect renovate to upgrade to v7.2.2

Link to the Renovate issue or Discussion

Link to discussion

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%