Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semver strategy matches on 20221209-update-renovatejson-v4 #504

Open
bcbrockway opened this issue Dec 19, 2022 · 0 comments
Open

Semver strategy matches on 20221209-update-renovatejson-v4 #504

bcbrockway opened this issue Dec 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bcbrockway
Copy link

Describe the bug
Using the NewVersion function in the Masterminds semver lib means that branches like 20221209-update-renovatejson-v4 will match (see Masterminds/semver#193).

To Reproduce

  1. Use semver strategy on an image.
  2. Push a tag for v1.10.0 to its registry and allow to update.
  3. Push a tag called 20221209-update-renovatejson-v4 to its registry.
  4. Tag will update to 20221209-update-renovatejson-v4

Expected behavior
It stays on v1.10.0.

Version
v0.12.0

@bcbrockway bcbrockway added the bug Something isn't working label Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant