From 577a68cca5ebb09e16433e59fddde738f7013f80 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Wed, 24 May 2017 09:49:54 -0600 Subject: [PATCH] Update so central profile matches SRx as well --- mvnw | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mvnw b/mvnw index 25f750c..b3fb35e 100755 --- a/mvnw +++ b/mvnw @@ -241,6 +241,9 @@ fi if echo $VERSION | egrep -q 'RELEASE'; then echo Activating \"central\" profile for version=\"$VERSION\" echo $MAVEN_ARGS | grep -q milestone || MAVEN_ARGS="$MAVEN_ARGS -Pcentral" +elif echo $VERSION | egrep -q 'SR\d'; then + echo Activating \"central\" profile for version=\"$VERSION\" + echo $MAVEN_ARGS | grep -q milestone || MAVEN_ARGS="$MAVEN_ARGS -Pcentral" else echo Deactivating \"central\" profile for version=\"$VERSION\" echo $MAVEN_ARGS | grep -q central && MAVEN_ARGS=$(echo $MAVEN_ARGS | sed -e 's/-Pcentral//')