Skip to content

Commit

Permalink
Restore default commit message
Browse files Browse the repository at this point in the history
In 0.4.0, the plugin code was converted from Groovy to Java. As part of that, the wrong commit message string was copied. This resulted in the default changing in 0.4.0 (unintentionally) and a mismatch with the existing documentation.

This fixes #47.
  • Loading branch information
ajoberstar authored Apr 25, 2018
1 parent 6b9d79b commit ecc7e50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class GitPublishPlugin implements Plugin<Project> {
public void apply(Project project) {
GitPublishExtension extension = project.getExtensions().create("gitPublish", GitPublishExtension.class, project);

extension.getCommitMessage().set("Publish of Github pages from Gradle.");
extension.getCommitMessage().set("Generated by gradle-git-publish.");

// if using the grgit plugin, default to the repo's origin
project.getPluginManager().withPlugin("org.ajoberstar.grgit", plugin -> {
Expand Down

0 comments on commit ecc7e50

Please sign in to comment.