Skip to content

Commit

Permalink
remove hardcoded components in renovate.json and use comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshkumarashok committed Aug 16, 2024
1 parent daead65 commit bf1a9ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion driver_config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cuda:
# renovate: datasource=custom.nvidia-driver depName=nvidia-cuda-driver
# renovate: datasource=custom.nvidia-driver depName=nvidia-cuda-driver versioning=loose
version: "550.90.07"

grid:
Expand Down
7 changes: 2 additions & 5 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@
"driver_config.yml"
],
"matchStrings": [
"cuda:\\s*(?:#.*)?\\n\\s*version:\\s*\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "nvidia-cuda-driver",
"datasourceTemplate": "custom.nvidia-driver",
"versioningTemplate": "loose"
"#\\s*renovate:\\s*(datasource=(?<datasource>.*?) )?depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s*.*?version.*\\\"(?<currentValue>.*)\\\""
]
}
],
"customDatasources": {
Expand Down

0 comments on commit bf1a9ce

Please sign in to comment.