Skip to content

Commit

Permalink
Merge pull request #390 from arkedge/feature/renovate-cargo-install
Browse files Browse the repository at this point in the history
Renovate generic cargo install in shell script
  • Loading branch information
sksat authored Nov 27, 2024
2 parents d9e0d1b + 65f8651 commit 1ce3f33
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 1ce3f33

Please sign in to comment.