Skip to content

Commit

Permalink
use custom golang version
Browse files Browse the repository at this point in the history
Signed-off-by: eternal-flame-AD <[email protected]>
  • Loading branch information
eternal-flame-AD committed Oct 22, 2024
1 parent f1a58db commit 1cca45f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,17 @@
"matchStrings": [
"^(?<currentValue>.+)$"
],
"depNameTemplate": "go",
"depNameTemplate": "golang",
"autoReplaceStringTemplate": "{{{newValue}}}",
"datasourceTemplate": "golang-version"
"datasourceTemplate": "custom.golang-version"
}
]
],
"customDatasources": {
"golang-version": {
"defaultRegistryUrlTemplate": "https://go.dev/dl/?mode=json&include=all",
"transformTemplates": [
"{ \"releases\": $[stable = true].{ \"version\": $split(version, \"go\")[1] }, \"sourceUrl\": \"https://github.com/golang/go\", \"homepage\": \"https://go.dev/\", \"changelogUrl\": \"https://go.dev/doc/devel/release\" }"
]
}
}
}

0 comments on commit 1cca45f

Please sign in to comment.