Github user uce commented on a diff in the pull request: https://github.com/apache/flink/pull/3049#discussion_r95203611 --- Diff: tools/create_release_files.sh --- @@ -201,19 +262,34 @@ prepare make_source_release -make_binary_release "hadoop2" "" 2.10 -make_binary_release "hadoop24" "-Dhadoop.version=2.4.1" 2.10 -make_binary_release "hadoop26" "-Dhadoop.version=2.6.3" 2.10 -make_binary_release "hadoop27" "-Dhadoop.version=2.7.2" 2.10 - -make_binary_release "hadoop2" "" 2.11 -make_binary_release "hadoop24" "-Dhadoop.version=2.4.1" 2.11 -make_binary_release "hadoop26" "-Dhadoop.version=2.6.3" 2.11 -make_binary_release "hadoop27" "-Dhadoop.version=2.7.2" 2.11 - -copy_data - -deploy_to_maven +# build dist by input parameter of "--scala-vervion xxx --hadoop-version xxx" +if [ "$scalaV" == "none" ] && [ "$hadoopV" == "none" ]; then + make_binary_release "hadoop2" "" 2.10 + make_binary_release "hadoop24" "-Dhadoop.version=2.4.1" 2.10 + make_binary_release "hadoop26" "-Dhadoop.version=2.6.3" 2.10 + make_binary_release "hadoop27" "-Dhadoop.version=2.7.2" 2.10 + + make_binary_release "hadoop2" "" 2.11 + make_binary_release "hadoop24" "-Dhadoop.version=2.4.1" 2.11 + make_binary_release "hadoop26" "-Dhadoop.version=2.6.3" 2.11 + make_binary_release "hadoop27" "-Dhadoop.version=2.7.2" 2.11 +elif [ "$scalaV" == none ] && [ "$hadoopV" != "none" ] --- End diff -- Can we add the `"..."` for all strings to have it consistent?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---