mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
refactor: simplify patch branch name
This commit is contained in:
parent
85e40963a0
commit
13f09b9f36
2 changed files with 6 additions and 7 deletions
|
@ -545,9 +545,7 @@ const options = [
|
|||
'Configuration to apply when an update type is patch. Only applies if `separateMinorPatch` is set to true',
|
||||
stage: 'package',
|
||||
type: 'json',
|
||||
default: {
|
||||
branchTopic: '{{{depNameSanitized}}}-{{{newMajor}}}.{{{newMinor}}}.x',
|
||||
},
|
||||
default: {},
|
||||
cli: false,
|
||||
mergeable: true,
|
||||
},
|
||||
|
@ -702,7 +700,8 @@ const options = [
|
|||
name: 'branchTopic',
|
||||
description: 'Branch topic',
|
||||
type: 'string',
|
||||
default: '{{{depNameSanitized}}}-{{{newMajor}}}.x',
|
||||
default:
|
||||
'{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x',
|
||||
cli: false,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@ Array [
|
|||
"automergeType": "pr",
|
||||
"branchName": "{{{branchPrefix}}}{{{managerBranchPrefix}}}{{{branchTopic}}}",
|
||||
"branchPrefix": "renovate/",
|
||||
"branchTopic": "{{{depNameSanitized}}}-{{{newMajor}}}.x",
|
||||
"branchTopic": "{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x",
|
||||
"bumpVersion": null,
|
||||
"commitBody": null,
|
||||
"commitMessage": "{{{commitMessagePrefix}}} {{{commitMessageAction}}} {{{commitMessageTopic}}} {{{commitMessageExtra}}} {{{commitMessageSuffix}}}",
|
||||
|
@ -82,7 +82,7 @@ Array [
|
|||
"automergeType": "pr",
|
||||
"branchName": "{{{branchPrefix}}}{{{managerBranchPrefix}}}{{{branchTopic}}}",
|
||||
"branchPrefix": "renovate/",
|
||||
"branchTopic": "{{{depNameSanitized}}}-{{{newMajor}}}.x",
|
||||
"branchTopic": "{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x",
|
||||
"bumpVersion": null,
|
||||
"commitBody": null,
|
||||
"commitMessage": "{{{commitMessagePrefix}}} {{{commitMessageAction}}} {{{commitMessageTopic}}} {{{commitMessageExtra}}} {{{commitMessageSuffix}}}",
|
||||
|
@ -226,7 +226,7 @@ Array [
|
|||
"automergeType": "pr",
|
||||
"branchName": "{{{branchPrefix}}}{{{managerBranchPrefix}}}{{{branchTopic}}}",
|
||||
"branchPrefix": "renovate/",
|
||||
"branchTopic": "{{{depNameSanitized}}}-{{{newMajor}}}.x",
|
||||
"branchTopic": "{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x",
|
||||
"bumpVersion": null,
|
||||
"commitBody": null,
|
||||
"commitMessage": "{{{commitMessagePrefix}}} {{{commitMessageAction}}} {{{commitMessageTopic}}} {{{commitMessageExtra}}} {{{commitMessageSuffix}}}",
|
||||
|
|
Loading…
Reference in a new issue