Added ignoreCommitsContaining setter and getter for ReleaseNotesConfiguration
@@ -221,6 +221,20 @@ public class ReleaseConfiguration {
public void setLabelMapping(Map<String, String> labelMapping) {
configuration.put("releaseNotes.labelMapping", labelMapping);
}
+
+ /**
+ * Collection of texts which will cause with commit skipping in release notes.
+ */
+ public Collection<String> getIgnoreCommitsContaining() {
+ return getCollection("releaseNotes.ignoreCommitsContaining");
+ }
+
+ /**
+ * See {@link #getIgnoreCommitsContaining()}
+ */
+ public void setIgnoreCommitsContaining(Collection<String> commitMessageParts) {
+ configuration.put("releaseNotes.ignoreCommitsContaining", commitMessageParts);
+ }
}
public class Git {
@@ -287,7 +301,6 @@ public class ReleaseConfiguration {
configuration.put("git.tagPrefix", tagPrefix);
}
-
/**
* Text which will be included in the commit message for all commits automatically created by the release
* automation.
