generated from asdf-vm/asdf-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Renovate as version "manager" (#8)
* Move renovate.json to .github and adopt better practices Using my own gist at https://gist.github.com/paulo-ferraz-oliveira/68e04915037d1e78eb815a90f491f97d * Prepare for proper Renovate updates
- Loading branch information
1 parent
884a0b6
commit b84c816
Showing
4 changed files
with
75 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:best-practices" | ||
], | ||
"packageRules": [ | ||
{ | ||
"matchFileNames": [ | ||
".github/**/*.yml", | ||
".tool-versions" | ||
], | ||
"groupName": "dev tools" | ||
}, | ||
{ | ||
"matchFileNames": [ | ||
"rebar.config" | ||
], | ||
"groupName": "rebar.config deps" | ||
}, | ||
{ | ||
"matchFileNames": [ | ||
"package.json", | ||
".nvmrc" | ||
], | ||
"groupName": "package.json + .nvmrc deps" | ||
}, | ||
{ | ||
"matchPackagePrefixes": [ | ||
"minimum_otp_vsn" | ||
], | ||
"enabled": false | ||
} | ||
], | ||
"customManagers": [ | ||
{ | ||
"description": "Match versions (per datasource and depName) in .github/**/*.yml", | ||
"customType": "regex", | ||
"fileMatch": [ | ||
".github/.*/.*\\.yml" | ||
], | ||
"matchStrings": [ | ||
"# renovate datasource: (?<datasource>[^,]+), depName: (?<depName>[^\\n]+)\\n.+?(?<currentValue>v?\\d+(\\.\\d+(\\.\\d+)?)?)\\n" | ||
] | ||
}, | ||
{ | ||
"description": "Match versions in rebar.config", | ||
"customType": "regex", | ||
"fileMatch": [ | ||
"rebar.config" | ||
], | ||
"datasourceTemplate": "hex", | ||
"matchStrings": [ | ||
"{(?<depName>[^,]+), \"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)\"" | ||
], | ||
"versioningTemplate": "semver" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.