mirror of https://github.com/sbt/sbt.git
tweak status test in build definition
This commit is contained in:
parent
ba13aec159
commit
2f65945745
|
|
@ -26,5 +26,5 @@ object Status
|
|||
format.format(new java.util.Date(time))
|
||||
}
|
||||
final val Snapshot = "-SNAPSHOT"
|
||||
def snapshotQualifier(v: String) = !Pattern.matches(""".+-(M|Alpha|Beta|RC)\d*""", v)
|
||||
def snapshotQualifier(v: String) = !Pattern.matches(""".+-(M|Alpha|Beta|RC)?\d+""", v)
|
||||
}
|
||||
Loading…
Reference in New Issue