Adjust naming convention for releases

This commit is contained in:
Dave Syer
2022-03-21 09:04:12 +00:00
committed by GitHub
parent fbd1d70ee6
commit c3b97c039a

2
mvnw vendored
View File

@@ -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