Skip to content

Commit

Permalink
add go install manager
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Jan 13, 2024
1 parent f75b8b9 commit 20fd92e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/renovate/regex-manager.json5
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{
"description": "OCI image dependencies (tag)",
"fileMatch": [
".+\\.ya?ml$"
".+\\.ya?ml$", "(^|/)Makefile$"
],
"matchStrings": [
// Example:
Expand All @@ -58,6 +58,17 @@
"# renovate:github-url\n.*?https://github\\.com/(?<depName>[^/]+/[^/]+)/releases/download/(?<currentValue>[^/]+)"
],
"datasourceTemplate": "github-releases",
},
{
"description": "Go tool dependencies",
"fileMatch": [
".+\\.ya?ml$", "(^|/)Makefile$"
],
"matchStrings": [
"go install (?<depName>((?:[^@c]|c(?:[^m]|m(?:[^d]))))+?)@(?<currentValue>.+)\n",
"go install (?<depName>[^@]+?)/cmd/[^@]+@(?<currentValue>.+)\n"
],
"datasourceTemplate": "go"
}
]
}

0 comments on commit 20fd92e

Please sign in to comment.