different versioning schemes in datasource and local git #23276
-
How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us what version of Renovate you run.36.6.0 If you're self-hosting Renovate, select which platform you are using.GitLab self-hosted Was this something which used to work for you, and then stopped?I never saw this working Wanted end result.Hello I have a special case where I try to update version in a What you tried so far.I updated the Relevant debug logsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
You'd need regex versioning where you allow the separator to be . or _ |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
I created a minimal reproduction |
Beta Was this translation helpful? Give feedback.
Thanks I see the problem now. The regex versioning is working ok - it can compare 2.6.2 to 2_6_4 - but then it replaces the 2.6.2 with 2_6_4 instead of with 2.6.4.
I can't think of a way to get this to work without adding something similar to
extractVersion
called insteadtransformVersion
which allows you to transform/massage a version