File tree 1 file changed +6
-0
lines changed
src/main/java/se/bjurr/gitchangelog/plugin
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ public class SemanticVersionMojo extends AbstractMojo {
33
33
@ Parameter (property = "semanticPatchVersionPattern" , required = false )
34
34
private String semanticPatchVersionPattern ;
35
35
36
+ @ Parameter (property = "ignoreTagsIfNameMatches" , required = false )
37
+ private String ignoreTagsIfNameMatches ;
38
+
36
39
@ Override
37
40
public void execute () throws MojoExecutionException {
38
41
try {
@@ -46,6 +49,9 @@ public void execute() throws MojoExecutionException {
46
49
if (this .isSupplied (this .semanticPatchVersionPattern )) {
47
50
gitChangelogApiBuilder .withSemanticPatchVersionPattern (this .semanticPatchVersionPattern );
48
51
}
52
+ if (this .isSupplied (this .ignoreTagsIfNameMatches )) {
53
+ gitChangelogApiBuilder .withIgnoreTagsIfNameMatches (this .ignoreTagsIfNameMatches );
54
+ }
49
55
final SemanticVersion nextSemanticVersion = gitChangelogApiBuilder .getNextSemanticVersion ();
50
56
final String nextVersion =
51
57
this .updatePomWithNextSemanticVersionSuffixSnapshot
You can’t perform that action at this time.
0 commit comments