Skip to content

Commit

Permalink
Modify where Renovate updates Go (namely#329)
Browse files Browse the repository at this point in the history
With this change the go version will be updated in the dockerfile as well as in Renovate's own config file (where go version is referenced as a constraint for future upgrades)
  • Loading branch information
ido-namely committed Aug 30, 2022
1 parent 58a12a0 commit f42f6b8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,19 @@
],
depNameTemplate: "google.golang.org/grpc/cmd/protoc-gen-go-grpc",
datasourceTemplate: "go",
},
{
fileMatch: [
"variables.sh$",
".github/renovate.json5$"
],
matchStrings: [
"GO_VERSION=\\$\\{GO_VERSION:-(?<currentValue>.*?)\\}\\n",
"constraints: {(\\s*\\n\\s*)\"go\":\\s*\"(?<currentValue>.*?)\""
],
depNameTemplate: "go",
datasourceTemplate: "golang-version",
versioningTemplate: "npm",
}
],
packageRules: [
Expand Down

0 comments on commit f42f6b8

Please sign in to comment.