From e46abca7741a713eddffb723a4abb4dc07ebfee9 Mon Sep 17 00:00:00 2001 From: Andrew Zhvakin Date: Mon, 14 May 2018 11:27:39 +0300 Subject: [PATCH] Use tagPrefix in conventional-changelog Use tagPrefix arg if passed also in conventional-changelog --- lib/lifecycles/changelog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/lifecycles/changelog.js b/lib/lifecycles/changelog.js index 1eb16178e..136f8301a 100644 --- a/lib/lifecycles/changelog.js +++ b/lib/lifecycles/changelog.js @@ -30,7 +30,8 @@ function outputChangelog (args, newVersion) { var context if (args.dryRun) context = {version: newVersion} var changelogStream = conventionalChangelog({ - preset: 'angular' + preset: 'angular', + tagPrefix: args.tagPrefix }, context, {merges: null}) .on('error', function (err) { return reject(err)