[signing] update commit signing. Relates to
@@ -86,12 +86,10 @@ abstract class AbstractRepositoryToolProcessor<T extends RepositoryTool> extends
.setMessage(distribution.getExecutable() + " " + gitService.getResolvedTagName(context.getModel()))
.setAuthor(tool.getCommitAuthor().getName(), tool.getCommitAuthor().getEmail());
commitCommand.setCredentialsProvider(credentialsProvider);
- if (gitService.isSign()) {
commitCommand = commitCommand
- .setSign(true)
+ .setSign(gitService.isSign())
.setSigningKey("**********")
- .setGpgSigner(new JReleaserGpgSigner(context, true));
- }
+ .setGpgSigner(new JReleaserGpgSigner(context, gitService.isSign()));
commitCommand.call();
