#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:
@@ -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");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user