Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit b561dc7

Browse files
committed
Merge pull request #78 from mprins/non-public_email_fix
workaround the case of a non-public email
2 parents aff6890 + 66b1470 commit b561dc7

File tree

1 file changed

+1
-1
lines changed
  • github-site-plugin/src/main/java/com/github/maven/plugins/site

1 file changed

+1
-1
lines changed

github-site-plugin/src/main/java/com/github/maven/plugins/site/SiteMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ public void execute() throws MojoExecutionException {
433433

434434
CommitUser author = new CommitUser();
435435
author.setName(user.getName());
436-
author.setEmail(user.getEmail());
436+
author.setEmail(userService.getEmails().get(0));
437437
author.setDate(new GregorianCalendar().getTime());
438438

439439
commit.setAuthor(author);

0 commit comments

Comments
 (0)