mirror of
https://github.com/rust-lang/cargo
synced 2024-10-05 23:39:47 +00:00
refactor(gh): Allow tracking multiple MSRVs
This commit is contained in:
parent
637ade0e6a
commit
a4928f6584
11
.github/renovate.json5
vendored
11
.github/renovate.json5
vendored
|
@ -12,24 +12,25 @@
|
|||
{
|
||||
customType: 'regex',
|
||||
fileMatch: [
|
||||
'^Cargo.toml$',
|
||||
'Cargo.toml$',
|
||||
],
|
||||
matchStrings: [
|
||||
'rust-version.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
||||
'\bMSRV:1\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
||||
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\bMSRV:1\b',
|
||||
],
|
||||
depNameTemplate: 'latest-msrv',
|
||||
depNameTemplate: 'MSRV:1', // Support 1 version of rustc
|
||||
packageNameTemplate: 'rust-lang/rust',
|
||||
datasourceTemplate: 'github-releases',
|
||||
},
|
||||
],
|
||||
packageRules: [
|
||||
{
|
||||
commitMessageTopic: 'Latest MSRV',
|
||||
commitMessageTopic: 'MSRV (1 version)',
|
||||
matchManagers: [
|
||||
'regex',
|
||||
],
|
||||
matchPackageNames: [
|
||||
'latest-msrv',
|
||||
'MSRV:1',
|
||||
],
|
||||
"extractVersion": "^(?<version>\\d+\\.\\d+)", // Drop the patch version
|
||||
schedule: [
|
||||
|
|
|
@ -11,7 +11,7 @@ exclude = [
|
|||
]
|
||||
|
||||
[workspace.package]
|
||||
rust-version = "1.73"
|
||||
rust-version = "1.73" # MSRV:1
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
|
|
Loading…
Reference in a new issue