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 37f864c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@
],
"depNameTemplate": "go",
"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 37f864c

Please sign in to comment.