#150 - Correctly report maintenance release to Sagan.

The check for whether a release is a GA or SR type only checked whether the version number ends with zero which lead to a wrong version identifier for SR10, SR20 and so on.
This commit is contained in:
Mark Paluch
2020-09-16 15:05:31 +02:00
parent 59a9aaf901
commit 6cba090458

View File

@@ -180,7 +180,7 @@ public class ArtifactVersion implements Comparable<ArtifactVersion> {
}
public boolean isBugFixVersion() {
return isReleaseVersion() && !version.toMajorMinorBugfix().endsWith("0");
return isReleaseVersion() && !version.toMajorMinorBugfix().endsWith(".0");
}
/**