Skip to content

Commit

Permalink
feat: support updating gopls
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed May 30, 2022
1 parent 2b438a4 commit 1489d85
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@
"extractVersionTemplate": "^gping-(?<version>.*)$",
"datasourceTemplate": "github-releases",
"depNameTemplate": "orf/gping"
},
{
"fileMatch": ["\\.?aqua\\.ya?ml"],
"matchStrings": [
" +['\"]?version['\"]? *: +['\"]?gopls/(?<currentValue>[^'\" \\n]+)['\"]? +# renovate: depName=golang/tools/gopls[ \\n]",
" +['\"]?name['\"]? *: +['\"]?golang/tools/gopls@gopls/(?<currentValue>[^'\" \\n]+)['\"]?"
],
"extractVersionTemplate": "^gopls/(?<version>.*)$",
"datasourceTemplate": "github-releases",
"depNameTemplate": "golang/tools/gopls"
}
]
}
30 changes: 30 additions & 0 deletions file.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,36 @@
"extractVersionTemplate": "^kubernetes-(?<version>.*)$",
"datasourceTemplate": "github-tags",
"depNameTemplate": "kubernetes/kubectl"
},
{
"fileMatch": ["{{arg0}}"],
"matchStrings": [
" +['\"]?version['\"]? *: +['\"]?cmd/protoc-gen-go-grpc/(?<currentValue>[^'\" \\n]+)['\"]? +# renovate: depName=grpc/grpc-go[ \\n]",
" +['\"]?name['\"]? *: +['\"]?grpc/grpc-go/protoc-gen-go-grpc@cmd/protoc-gen-go-grpc/(?<currentValue>[^'\" \\n]+)['\"]?"
],
"extractVersionTemplate": "^cmd/protoc-gen-go-grpc/(?<version>.*)$",
"datasourceTemplate": "github-releases",
"depNameTemplate": "grpc/grpc-go"
},
{
"fileMatch": ["{{arg0}}"],
"matchStrings": [
" +['\"]?version['\"]? *: +['\"]?gping-(?<currentValue>[^'\" \\n]+)['\"]? +# renovate: depName=orf/gping[ \\n]",
" +['\"]?name['\"]? *: +['\"]?orf/gping@gping-(?<currentValue>[^'\" \\n]+)['\"]?"
],
"extractVersionTemplate": "^gping-(?<version>.*)$",
"datasourceTemplate": "github-releases",
"depNameTemplate": "orf/gping"
},
{
"fileMatch": ["{{arg0}}"],
"matchStrings": [
" +['\"]?version['\"]? *: +['\"]?gopls/(?<currentValue>[^'\" \\n]+)['\"]? +# renovate: depName=golang/tools/gopls[ \\n]",
" +['\"]?name['\"]? *: +['\"]?golang/tools/gopls@gopls/(?<currentValue>[^'\" \\n]+)['\"]?"
],
"extractVersionTemplate": "^gopls/(?<version>.*)$",
"datasourceTemplate": "github-releases",
"depNameTemplate": "golang/tools/gopls"
}
]
}

0 comments on commit 1489d85

Please sign in to comment.