Alter regex in verify script for versions like 1.0.0-beta+1005

This commit is contained in:
Ilya Gorbunov
2015-10-20 03:18:17 +03:00
parent 07f7f95fed
commit 8635eaae69
@@ -31,7 +31,7 @@ State state = new File(basedir, "build.log").readLines().collect { it.replaceAll
replaceAll(/[0-9]+\s*ms/, "LLL ms").
trim().
replaceAll(/^\[[A-Z]+\]$/, "").
replaceAll(/version [0-9\.]+/, "version @snapshot@")
replaceAll(/version [0-9a-z-+\.]+/, "version @snapshot@")
if (filtered != "") {
acc.lines << filtered