Skip to content

Commit 4b85932

Browse files
committed
issue #24
1 parent 1db6a12 commit 4b85932

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<groupId>com.e-gineering</groupId>
1010
<artifactId>gitflow-helper-maven-plugin</artifactId>
1111

12-
<version>1.2.4</version>
12+
<version>1.2.5</version>
1313
<packaging>maven-plugin</packaging>
1414

1515
<name>gitflow-helper-maven-plugin</name>

src/main/java/com/e_gineering/maven/gitflowhelper/EnforceVersionsMojo.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ protected void execute(final GitBranchType type, final String gitBranch, final S
3535
}
3636
}
3737
}
38-
} else if (!type.equals(GitBranchType.UNDEFINED)) { // Unversioned branch type. Must be -SNAPSHOT.
39-
if (!ArtifactUtils.isSnapshot(project.getVersion())) {
40-
throw new MojoFailureException("Builds from non-release git branches must end with -SNAPSHOT");
41-
}
4238
}
4339
}
4440
}

0 commit comments

Comments
 (0)