Skip to content

Commit 4472e11

Browse files
committed
fix(gitRawCommitsOpts): apply user opts over our opts
When `releaseCount` equals any value other than 0, the original code replaces the `gitRawCommitsOpts` object with our own configuration. Instead, we need to apply the user's configuration over our configuration, replacing our configuration where it conflicts with the user's configuration.
1 parent a5bcef0 commit 4472e11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function conventionalGithubReleaser(auth, changelogOpts, context, gitRawCommitsO
6262
if (releaseCount !== 0) {
6363
gitRawCommitsOpts = assign({
6464
from: tags[releaseCount]
65-
});
65+
}, gitRawCommitsOpts);
6666
}
6767

6868
gitRawCommitsOpts.to = gitRawCommitsOpts.to || tags[0];

0 commit comments

Comments
 (0)