Skip to content

Commit

Permalink
[#noissue] Add alpha postfix to version pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
intr3p1d committed Nov 13, 2023
1 parent a13e19e commit b47de14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
*/
public class JarDescription {

static final String VERSION_PATTERN = "(-[0-9]+\\.[0-9]+\\.[0-9]+((-SNAPSHOT)|(-RC[0-9]+)|(-p[0-9]+))?)?";
static final String SIMPLE_PATTERN = "-x.x.x(-SNAPSHOT)(-RCx)(-px)";
static final String VERSION_PATTERN = "(-[0-9]+\\.[0-9]+\\.[0-9]+((-SNAPSHOT)|(-RC[0-9]+)|(-p[0-9]+)|(-alpha[0-9]+))?)?";
static final String SIMPLE_PATTERN = "-x.x.x(-SNAPSHOT)(-RCx)(-px)(-alphax)";

private final String prefix;
private final boolean required;
Expand Down

0 comments on commit b47de14

Please sign in to comment.