Skip to content

Commit

Permalink
Treat x.y.999-SNAPSHOT as snapshot version
Browse files Browse the repository at this point in the history
  • Loading branch information
rsvoboda committed Oct 20, 2023
1 parent 3dcc685 commit a05a76a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ private ConditionEvaluationResult testIsDisabled(DisabledOnQuarkusSnapshot disab
}

public static boolean isQuarkusSnapshotVersion() {
return QUARKUS_SNAPSHOT_VERSION.equals(QuarkusProperties.getVersion());
return QuarkusProperties.getVersion().contains(QUARKUS_SNAPSHOT_VERSION); // to cover cases like 3.2.999-SNAPSHOT
}
}

0 comments on commit a05a76a

Please sign in to comment.