Skip to content

Commit

Permalink
Migrate config renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama86 committed Oct 4, 2023
1 parent c0c0830 commit d4d7167
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
{
"extends": ["config:best-practices"],
"extends": [
"config:best-practices"
],
"automergeSchedule": [
"before 2am"
],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin"],
"matchUpdateTypes": [
"minor",
"patch",
"pin"
],
"automerge": true
},
{
"matchDatasources": ["docker"],
"matchDatasources": [
"docker"
],
"enabled": false
},
{
"datasources": ["github-tags"],
"matchDepNames": ["curl/curl"],
"versioning": "regex:curl-(?<major>\\d+)\\_(?<minor>\\d+)\\_(?<patch>\\d+)$"
"matchDatasources": [
"github-tags"
],
"matchDepNames": [
"curl/curl"
],
"versioning": "regex:curl-(?<major>\\d+)\\_(?<minor>\\d+)\\_(?<patch>\\d+)$"
}
],
"customManagers": [
Expand All @@ -24,7 +36,9 @@
"fileMatch": [
"^Makefile$"
],
"matchStrings": ["CURL_VERSION=(?<currentValue>.+)"],
"matchStrings": [
"CURL_VERSION=(?<currentValue>.+)"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "curl/curl",
"extractVersionTemplate": "^curl-(?<version>.+)$"
Expand All @@ -34,7 +48,9 @@
"fileMatch": [
"^Makefile$"
],
"matchStrings": ["OPENSSL_VERSION=(?<currentValue>.*)"],
"matchStrings": [
"OPENSSL_VERSION=(?<currentValue>.*)"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "openssl/openssl",
"extractVersionTemplate": "^openssl-(?<version>.+)$"
Expand All @@ -44,7 +60,9 @@
"fileMatch": [
"^Makefile$"
],
"matchStrings": ["ZLIB_VERSION=(?<currentValue>.*)"],
"matchStrings": [
"ZLIB_VERSION=(?<currentValue>.*)"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "madler/zlib",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}"
Expand Down

0 comments on commit d4d7167

Please sign in to comment.