From 6652ec95458f108b2f275e34e129dea26b6d9c58 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 1 Jul 2017 20:01:19 +0200 Subject: [PATCH] [travis] fix release script for upload site --- .travis/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.