You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by di...@apache.org on 2022/12/08 09:37:04 UTC

[doris-flink-connector] branch master updated: [Improvement] Update the build.sh with latest version (#91)

This is an automated email from the ASF dual-hosted git repository.

diwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-flink-connector.git


The following commit(s) were added to refs/heads/master by this push:
     new 0364c22  [Improvement] Update the build.sh with latest version (#91)
0364c22 is described below

commit 0364c220d7233bede11338e8da90e547dce3f35d
Author: Yun Tang <my...@live.com>
AuthorDate: Thu Dec 8 17:36:58 2022 +0800

    [Improvement] Update the build.sh with latest version (#91)
---
 flink-doris-connector/build.sh | 11 ++++-------
 flink-doris-connector/pom.xml  |  2 +-
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/flink-doris-connector/build.sh b/flink-doris-connector/build.sh
index 203e57e..bcfd95e 100755
--- a/flink-doris-connector/build.sh
+++ b/flink-doris-connector/build.sh
@@ -33,10 +33,10 @@ export DORIS_HOME=${ROOT}/../
 usage() {
   echo "
   Usage:
-    $0 --flink version --scala version # specify flink and scala version
-    $0 --tag                           # this is a build from tag
+    $0 --flink version # specify flink version (after flink-doris-connector v1.2 and flink-1.15, there is no need to provide scala version)
+    $0 --tag           # this is a build from tag
   e.g.:
-    $0 --flink 1.15.2 --scala 2.12
+    $0 --flink 1.16.0
     $0 --tag
   "
   exit 1
@@ -57,7 +57,6 @@ OPTS=$(getopt \
   -o '' \
   -o 'h' \
   -l 'flink:' \
-  -l 'scala:' \
   -l 'tag' \
   -- "$@")
 
@@ -76,11 +75,9 @@ fi
 
 BUILD_FROM_TAG=0
 FLINK_VERSION=0
-SCALA_VERSION=0
 while true; do
     case "$1" in
         --flink) FLINK_VERSION=$2 ; shift 2 ;;
-        --scala) SCALA_VERSION=$2 ; shift 2 ;;
         --tag) BUILD_FROM_TAG=1 ; shift ;;
         --) shift ;  break ;;
         *) echo "Internal error" ; exit 1 ;;
@@ -100,7 +97,7 @@ if [[ ${BUILD_FROM_TAG} -eq 1 ]]; then
     ${MVN_BIN} clean package
 else
     rm -rf output/
-    ${MVN_BIN} clean package -Dscala.version=${SCALA_VERSION} -Dflink.version=${FLINK_VERSION} -Dflink.minor.version=${FLINK_MINOR_VERSION}
+    ${MVN_BIN} clean package -Dflink.version=${FLINK_VERSION} -Dflink.minor.version=${FLINK_MINOR_VERSION}
 fi
 
 echo "*****************************************"
diff --git a/flink-doris-connector/pom.xml b/flink-doris-connector/pom.xml
index f0c3140..61a2a4d 100644
--- a/flink-doris-connector/pom.xml
+++ b/flink-doris-connector/pom.xml
@@ -27,7 +27,7 @@ under the License.
     </parent>
     <groupId>org.apache.doris</groupId>
     <artifactId>flink-doris-connector-${flink.minor.version}</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
+    <version>1.3.0-SNAPSHOT</version>
     <name>Flink Doris Connector</name>
     <url>https://doris.apache.org/</url>
     <licenses>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org