Skip to content

Commit

Permalink
Merge pull request #125 from aquaproj/feat/support-gopls
Browse files Browse the repository at this point in the history
feat: support updating gopls
  • Loading branch information
suzuki-shunsuke authored May 30, 2022
2 parents 1062e80 + a9c3c7b commit 77a11f1
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"
}
]
}
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"
}
]
}

0 comments on commit 77a11f1

Please sign in to comment.