From 6701978b98465b15bb1a5f82bb96934848d081be Mon Sep 17 00:00:00 2001 From: Rena Wolford Date: Mon, 11 May 2020 14:09:36 -0700 Subject: [PATCH] fix: use plaintext formatting in release commit (#417) --- lib/prepare_release.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/prepare_release.js b/lib/prepare_release.js index 1d07c23..d77c28e 100644 --- a/lib/prepare_release.js +++ b/lib/prepare_release.js @@ -377,7 +377,7 @@ class ReleasePreparation { const notableChanges = this.getBranchDiff({ onlyNotableChanges: true, - simple: true + format: 'plaintext' }); messageBody.push('Notable changes:\n\n'); messageBody.push(notableChanges); @@ -431,12 +431,9 @@ class ReleasePreparation { branchDiffOptions = [ `${upstream}/${releaseBranch}`, proposalBranch, - `--require-label=${notableLabels.join(',')}` + `--require-label=${notableLabels.join(',')}`, + `--format=${opts.format || 'markdown'}` ]; - - if (opts.simple) { - branchDiffOptions.push('--simple'); - } } else { const excludeLabels = [ 'semver-major',