Closed GeeWizWow closed 2 years ago
Fixes #78 - CLI flags not taking any effect when also defined in .releaserc.js file
.releaserc.js
Given that msr only shares two options with semrel, debug and dryRun, set them manually rather than merging the full flags object.
debug
dryRun
--debug
--dryRun
true
false
@GeeWizWow, thanks a lot!
:tada: This PR is included in version 6.5.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Fixes #78 - CLI flags not taking any effect when also defined in
.releaserc.js
fileChanges
Given that msr only shares two options with semrel,
debug
anddryRun
, set them manually rather than merging the full flags object.--debug
: Can only be passed to semrel as a CLI flag, given we are invoking semrel programmatically, we always default to the msr version.--dryRun
: Use the msr version if specified regardless of if it istrue
orfalse
, otherwise fallback to the semrel value.Chores