Renovate: Configuring `versioning` still renders skip reason `not-a-version`

Created on 21 Nov 2020  路  4Comments  路  Source: renovatebot/renovate

Which Renovate are you using?

WhiteSource Renovate App

Which platform are you using?

GitHub.com

Have you checked the logs? Don't forget to include them if relevant

...
{
    "datasource": "nuget",
    "depType": "nuget",
    "depName": "AWSSDK.Core",
    "currentValue": "3.3.101.15",
    "skipReason": "not-a-version",
    "depIndex": 0,
    "updates": []
},
...

Click here to view the full job logs.

What would you like to do?

NuGet packages from AWS does not adhere to semver, e.g. the latest version of AWSSDK.Core is 3.5.1.40. I thought I could solve this using versioning in a package rules, but it seems that the versioning configuration is ignored. I think I'm lacking some kind of configuration. This is my renovate.json.

{
  "fileName": "renovate.json",
  "config": {
    "extends": ["github>FantasticFiasco/renovate-config"],
    "packageRules": [
      {
        "packagePatterns": ["^@aws-cdk", "^aws-cdk"],
        "groupName": "AWS CDK packages"
      },
      {
        "packageNames": ["AWSSDK.Core", "AWSSDK.S3", "AWSSDK.SecurityToken"],
        "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<prerelease>.*)$"
      }
    ]
  }
}

Do you see an obvious configuration error here?

nuget bug

All 4 comments

Doesn't seem to be a config problem, I think we need to fix the nuget extract so that doesn't add that skip version value. Will need a code inspection to confirm

:tada: This issue has been resolved in version 23.86.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Thanks for the fix, keep up the good work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

djmitche picture djmitche  路  54Comments

rarkins picture rarkins  路  40Comments

rtaum picture rtaum  路  36Comments

dlouzan picture dlouzan  路  53Comments

iamstarkov picture iamstarkov  路  35Comments