Repository navigation
Custom Version format with "-" instead of "." #38698
Unanswered
martinr92
asked this question in
Request Help
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
forgejo with renovate version 41.152.2
Please tell us more about your question or problem
I have a version file for the freetype library. The file contains only the plain version number (e.g. 2.13.0). Now I want to automatically update this version using the corresponding GIT repository and its tags (using a customManager).
But they use a unconventional tag/version schema:
VER-2-14-0
This is the current state of my customManager:
What I've done so far:
matchStringparses the value as stored in my version file (e.g. 2.13.0).extractVersionTemplateparses the version part 2-14-0 from the GIT tag (original: VER-2-14-0).versioningTemplatecontains[-.]to parse successfully both variants (with dot and dash).It already detects a new version, but fails creating a branch with a "valid" new version. It uses the GIT tag format (2-14-0) instead of 2.14.0.
Is there any option I missed to achieve this? I want to tell renovate to store the new version in the semver format.
Logs (if relevant)
Logs
and later
All reactions