Skip to content
Discussion options

You must be logged in to vote

Thanks, after some messing around I found that adding a section like this after customManagers will likely fix the issue:

  "packageRules": [
    {
      "matchDatasources": ["github-releases"],
      "matchPackageNames": ["grpc/grpc-swift-protobuf"],
      "matchFileNames": ["deps.list"],
      "matchStrings": ["PROTOC_GEN_GRPC_SWIFT_VERSION="],
      "allowedVersions": "/^1\\./"
    },
    {
      "matchDatasources": ["github-releases"],
      "matchPackageNames": ["grpc/grpc-swift-protobuf"],
      "matchFileNames": ["deps.list"],
      "matchStrings": ["PROTOC_GEN_GRPC_SWIFT_2_VERSION="],
      "allowedVersions": "/^2\\./"
    }
  ]

Hope this example helps someone!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

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