You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2018/11/05 11:27:58 UTC
[flink] branch master updated: [FLINK-10772][release] Fix
create_binary_release.sh
This is an automated email from the ASF dual-hosted git repository.
trohrmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 742658c [FLINK-10772][release] Fix create_binary_release.sh
742658c is described below
commit 742658c2cc64255a94d02ea1f1a69427d3c51fb9
Author: Till Rohrmann <tr...@apache.org>
AuthorDate: Sun Nov 4 18:38:17 2018 +0100
[FLINK-10772][release] Fix create_binary_release.sh
Remove the unnecessary call to change_scala_version.sh and remove the
-Dmaven.test.skip=true property. The latter is necessary because this
property suppresses the compilation and packaging of test classes. It,
however, does not suppress the resolution of test dependencies which
will then fail to compile because test dependencies have not been built.
This commit also removes the redundant call to build
flink-shaded/hadoop/flink-shaded-hadoop2-uber which is a dependency
of flink-dist anyway.
---
tools/releasing/create_binary_release.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/releasing/create_binary_release.sh b/tools/releasing/create_binary_release.sh
index 8146127..f4d7c57 100755
--- a/tools/releasing/create_binary_release.sh
+++ b/tools/releasing/create_binary_release.sh
@@ -78,8 +78,7 @@ make_binary_release() {
fi
# enable release profile here (to check for the maven version)
- tools/change-scala-version.sh ${SCALA_VERSION}
- $MVN clean package $FLAGS -Prelease -pl flink-shaded-hadoop/flink-shaded-hadoop2-uber,flink-dist -am -Dgpg.skip -Dcheckstyle.skip=true -DskipTests -Dmaven.test.skip=true
+ $MVN clean package $FLAGS -Prelease -pl flink-dist -am -Dgpg.skip -Dcheckstyle.skip=true -DskipTests
cd flink-dist/target/flink-*-bin/
tar czf "${dir_name}.tgz" flink-*