diff --git a/.travis/release.sh b/.travis/release.sh index 028ff6f20a..2d0cd8c040 100644 --- a/.travis/release.sh +++ b/.travis/release.sh @@ -2,11 +2,11 @@ set -e echo "BUILD: $BUILD" +RELEASE_VERSION=$(./mvnw -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.5.0:exec | tail -1) +echo "RELEASE_VERSION: $RELEASE_VERSION" if [ "${BUILD}" = "deploy" ]; then -RELEASE_VERSION=$(./mvnw -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.5.0:exec | tail -1) - # Deploy to ossrh has already been done with the usual build. See build-deploy.sh # The site has been built before, the files have already been uploaded to sourceforge.