Skip to content

Commit 8c4fd41

Browse files
author
Ajay Kannan
committed
removing extraneous piece of regex to find version number
1 parent 3a5d638 commit 8c4fd41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utilities/after_success.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" -a "${TRAVIS_BRANCH}" == "master" -
1111
mvn deploy -DskipTests=true -Dgpg.skip=true --settings target/travis/settings.xml
1212

1313
# Deploy site if not a SNAPSHOT
14-
SITE_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -Ev '(^\[|Download\w+:)')
14+
SITE_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -Ev '(^\[|\w+:)')
1515
if [ "${SITE_VERSION##*-}" != "SNAPSHOT" ]; then
1616
mvn site-deploy -DskipTests=true --settings=target/travis/settings.xml
1717

0 commit comments

Comments
 (0)