From c3b97c039ab2f545c346db6ba95125bb04ddc138 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 21 Mar 2022 09:04:12 +0000 Subject: [PATCH] Adjust naming convention for releases --- mvnw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvnw b/mvnw index a08b219..ab73fc9 100755 --- a/mvnw +++ b/mvnw @@ -238,7 +238,7 @@ else echo $MAVEN_ARGS | grep -q milestone && MAVEN_ARGS=$(echo $MAVEN_ARGS | sed -e 's/-Pmilestone//') fi -if echo $VERSION | egrep -q 'RELEASE'; then +if echo $VERSION | egrep -q '[0-9]*\.[0-9]*\.[0-9]*$|RELEASE'; then echo Activating \"central\" profile for version=\"$VERSION\" echo $MAVEN_ARGS | grep -q milestone || MAVEN_ARGS="$MAVEN_ARGS -Pcentral" else