Skip to content
Snippets Groups Projects
Commit c26e1226 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: Use v prefix for all major npm upgrades

parent 81090b87
No related branches found
Tags 38.137.0
No related merge requests found
......@@ -740,7 +740,7 @@ const options = [
'Extra description used after the commit message topic - typically the version',
type: 'string',
default:
'to {{#unless isRange}}v{{/unless}}{{#if isMajor}}{{newVersionMajor}}{{else}}{{newVersion}}{{/if}}',
'to {{#if isMajor}}v{{newVersionMajor}}{{else}}{{#unless isRange}}v{{/unless}}{{newVersion}}{{/if}}',
cli: false,
},
{
......
......@@ -24,7 +24,7 @@ Object {
"commitBody": null,
"commitMessage": "{{commitMessagePrefix}} {{commitMessageAction}} {{commitMessageTopic}} {{commitMessageExtra}} {{commitMessageSuffix}}",
"commitMessageAction": "Update",
"commitMessageExtra": "to {{#unless isRange}}v{{/unless}}{{#if isMajor}}{{newVersionMajor}}{{else}}{{newVersion}}{{/if}}",
"commitMessageExtra": "to {{#if isMajor}}v{{newVersionMajor}}{{else}}{{#unless isRange}}v{{/unless}}{{newVersion}}{{/if}}",
"commitMessagePrefix": null,
"commitMessageTopic": "dependency {{depName}}",
"copyLocalLibs": false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment