Skip to content
Discussion options

You must be logged in to vote

Oh, actually, there was some doc available here: https://docs.renovatebot.com/modules/versioning/regex/

This seems to work:

    {
      "customType": "regex",
      "managerFilePatterns": ["/^dependencies\\.txt$/"],
      "matchStrings": ["ffmpeg=(?<currentValue>.*?)\\n"],
      "datasourceTemplate": "github-tags",
      "packageNameTemplate": "FFmpeg/FFmpeg",
      "versioningTemplate": "regex:^n(?<major>\\d+)\\.(?<minor>\\d+)(?:\\.(?<patch>\\d+))?(?<prerelease>[^.-]+)?$"
    }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by moi15moi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant