Fix release pattern matching

This commit is contained in:
Eleftheria Stein
2020-10-29 08:40:50 +01:00
parent 212875437e
commit fd21edd5b9

View File

@@ -77,7 +77,7 @@ task deployArtifacts {
description = 'Deploys the artifacts to either Artifactory or Maven Central'
}
if (version.matches(/^.*-RELEASE$/) || version.matches(/^.*-SR\d+$/)) {
if (version.matches(/.*\.[0-9]+$/)) {
deployArtifacts.dependsOn uploadArchives
}
else {