Skip to content

Commit

Permalink
Renovate generic cargo install in shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
sksat committed Nov 27, 2024
1 parent d9e0d1b commit 65f8651
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_VERSION:\\s(?<currentValue>.*)\\s",
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
},
{
"fileMatch": [".*\.sh"],
"matchStrings": [
"cargo install\\s*(--\\S*\\s*)*(\\s*--root\\s\\S*\\s*)?(?<depName>\\S*?)\\s*(--\\S*\\s*)*(--version\\s*(?<currentValue>\\S*))\\s",
],
"datasourceTemplate": "crate",
"versioningTemplate": "cargo"
}
]
}

0 comments on commit 65f8651

Please sign in to comment.