Skip to content

Commit

Permalink
exclude 1.0.0-rc2-3 from 'non linear' check
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceWalkerRS committed Jun 27, 2024
1 parent 1e26f56 commit 9bb88c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private void testGraphConnectivity() {

public static boolean isVersionNonLinearSnapshot(OrderedVersion mcVersion) {
// remove all pending "snapshots" from mainline and mark as non-linear
return mcVersion.isPending() || mcVersion.isSnapshotOrPending() && (Objects.equals(mcVersion.launcherFriendlyVersionName(), "15w14a") || !(LINEAR_SNAPSHOT_REGEX.matcher(mcVersion.launcherFriendlyVersionName()).matches())); // mark 15w14a explicit as april fools snapshot, since this case should not be covered by the regex
return mcVersion.isPending() || mcVersion.isSnapshotOrPending() && (Objects.equals(mcVersion.launcherFriendlyVersionName(), "15w14a") || !(Objects.equals(mcVersion.launcherFriendlyVersionName(), "1.0.0-rc2-3") || LINEAR_SNAPSHOT_REGEX.matcher(mcVersion.launcherFriendlyVersionName()).matches())); // mark 15w14a explicit as april fools snapshot, since this case should not be covered by the regex
}

public HashSet<String> repoTags = new HashSet<>();
Expand Down

0 comments on commit 9bb88c4

Please sign in to comment.