mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 14:36:25 +00:00
fix: loosen newXMajor migration
This commit is contained in:
parent
ee178df01a
commit
83a511a08c
1 changed files with 1 additions and 5 deletions
|
@ -491,11 +491,7 @@ export function migrateConfig(
|
|||
if (subMigrate.isMigrated) {
|
||||
migratedConfig[key] = subMigrate.migratedConfig;
|
||||
}
|
||||
} else if (
|
||||
key.startsWith('commitMessage') &&
|
||||
is.string(val) &&
|
||||
(val.includes('currentVersion') || val.includes('newVersion'))
|
||||
) {
|
||||
} else if (key.startsWith('commitMessage') && is.string(val)) {
|
||||
migratedConfig[key] = val
|
||||
.replace(/currentVersion/g, 'currentValue')
|
||||
.replace(/newVersion/g, 'newValue')
|
||||
|
|
Loading…
Reference in a new issue