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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-table-store.git


The following commit(s) were added to refs/heads/master by this push:
     new d51ca84c [FLINK-31460] Fix hive catalog and connector jar name in the 
create release script for table store
d51ca84c is described below

commit d51ca84c8d711f74bbdd38e4acab627de78c2681
Author: Kerwin <[email protected]>
AuthorDate: Wed Mar 15 19:59:35 2023 +0800

    [FLINK-31460] Fix hive catalog and connector jar name in the create release 
script for table store
    
    This closes #604
---
 docs/content/docs/how-to/creating-catalogs.md |  4 +--
 tools/releasing/create_binary_release.sh      | 49 +++++++++++----------------
 2 files changed, 21 insertions(+), 32 deletions(-)

diff --git a/docs/content/docs/how-to/creating-catalogs.md 
b/docs/content/docs/how-to/creating-catalogs.md
index 51ffbee8..5213681d 100644
--- a/docs/content/docs/how-to/creating-catalogs.md
+++ b/docs/content/docs/how-to/creating-catalogs.md
@@ -82,8 +82,8 @@ By using Table Store Hive catalog, changes to the catalog 
will directly affect t
 
 Download the jar file with corresponding version.
 
-| Version      | Jar |
-|--------------|---|
+| Version    | Jar                                                             
                                                                                
                                       |
+|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
 | Hive 2 & 3 | [flink-table-store-hive-catalog-{{< version 
>}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< 
version >}}/flink-table-store-hive-catalog-{{< version >}}.jar) |
 
 You can also manually build bundled jar from the source code.
diff --git a/tools/releasing/create_binary_release.sh 
b/tools/releasing/create_binary_release.sh
index 151de191..d3dd4374 100755
--- a/tools/releasing/create_binary_release.sh
+++ b/tools/releasing/create_binary_release.sh
@@ -60,38 +60,29 @@ cp 
flink-table-store-flink/flink-table-store-flink-1.16/target/flink-table-store
 cp 
flink-table-store-flink/flink-table-store-flink-1.15/target/flink-table-store-flink-1.15-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
 cp 
flink-table-store-flink/flink-table-store-flink-1.14/target/flink-table-store-flink-1.14-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
 
-cp 
flink-table-store-hive/flink-table-store-hive-catalog/target/flink-table-store-hive-catalog-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}/flink-table-store-hive-catalog-${RELEASE_VERSION}_2.3.jar
-cp 
flink-table-store-hive/flink-table-store-hive-connector/target/flink-table-store-hive-connector-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}/flink-table-store-hive-connector-${RELEASE_VERSION}_2.3.jar
+cp 
flink-table-store-hive/flink-table-store-hive-catalog/target/flink-table-store-hive-catalog-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
+
+cp 
flink-table-store-hive/flink-table-store-hive-connector-3.1/target/flink-table-store-hive-connector-3.1-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
+cp 
flink-table-store-hive/flink-table-store-hive-connector-2.3/target/flink-table-store-hive-connector-2.3-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
+cp 
flink-table-store-hive/flink-table-store-hive-connector-2.2/target/flink-table-store-hive-connector-2.2-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
+cp 
flink-table-store-hive/flink-table-store-hive-connector-2.1/target/flink-table-store-hive-connector-2.1-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
+cp 
flink-table-store-hive/flink-table-store-hive-connector-2.1-cdh-6.3/target/flink-table-store-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
 
 cp 
flink-table-store-spark/flink-table-store-spark-3.3/target/flink-table-store-spark-3.3-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
 cp 
flink-table-store-spark/flink-table-store-spark-3.2/target/flink-table-store-spark-3.2-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
 cp 
flink-table-store-spark/flink-table-store-spark-3.1/target/flink-table-store-spark-3.1-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
 cp 
flink-table-store-spark/flink-table-store-spark-2/target/flink-table-store-spark-2-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}
 
-mvn clean install -Dcheckstyle.skip=true -Dgpg.skip -DskipTests -Phive-3.1 -f 
flink-table-store-hive
-cp 
flink-table-store-hive/flink-table-store-hive-catalog/target/flink-table-store-hive-catalog-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}/flink-table-store-hive-catalog-${RELEASE_VERSION}_3.1.jar
-cp 
flink-table-store-hive/flink-table-store-hive-connector/target/flink-table-store-hive-connector-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}/flink-table-store-hive-connector-${RELEASE_VERSION}_3.1.jar
-
-mvn clean install -Dcheckstyle.skip=true -Dgpg.skip -DskipTests -Phive-2.2 -f 
flink-table-store-hive
-cp 
flink-table-store-hive/flink-table-store-hive-catalog/target/flink-table-store-hive-catalog-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}/flink-table-store-hive-catalog-${RELEASE_VERSION}_2.2.jar
-cp 
flink-table-store-hive/flink-table-store-hive-connector/target/flink-table-store-hive-connector-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}/flink-table-store-hive-connector-${RELEASE_VERSION}_2.2.jar
-
-mvn clean install -Dcheckstyle.skip=true -Dgpg.skip -DskipTests -Phive-2.1 -f 
flink-table-store-hive
-cp 
flink-table-store-hive/flink-table-store-hive-catalog/target/flink-table-store-hive-catalog-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}/flink-table-store-hive-catalog-${RELEASE_VERSION}_2.1.jar
-cp 
flink-table-store-hive/flink-table-store-hive-connector/target/flink-table-store-hive-connector-${RELEASE_VERSION}.jar
 ${RELEASE_DIR}/flink-table-store-hive-connector-${RELEASE_VERSION}_2.1.jar
-
 cd ${RELEASE_DIR}
 gpg --armor --detach-sig "flink-table-store-flink-1.16-${RELEASE_VERSION}.jar"
 gpg --armor --detach-sig "flink-table-store-flink-1.15-${RELEASE_VERSION}.jar"
 gpg --armor --detach-sig "flink-table-store-flink-1.14-${RELEASE_VERSION}.jar"
-gpg --armor --detach-sig 
"flink-table-store-hive-catalog-${RELEASE_VERSION}_3.1.jar"
-gpg --armor --detach-sig 
"flink-table-store-hive-catalog-${RELEASE_VERSION}_2.3.jar"
-gpg --armor --detach-sig 
"flink-table-store-hive-catalog-${RELEASE_VERSION}_2.2.jar"
-gpg --armor --detach-sig 
"flink-table-store-hive-catalog-${RELEASE_VERSION}_2.1.jar"
-gpg --armor --detach-sig 
"flink-table-store-hive-connector-${RELEASE_VERSION}_3.1.jar"
-gpg --armor --detach-sig 
"flink-table-store-hive-connector-${RELEASE_VERSION}_2.3.jar"
-gpg --armor --detach-sig 
"flink-table-store-hive-connector-${RELEASE_VERSION}_2.2.jar"
-gpg --armor --detach-sig 
"flink-table-store-hive-connector-${RELEASE_VERSION}_2.1.jar"
+gpg --armor --detach-sig 
"flink-table-store-hive-catalog-${RELEASE_VERSION}.jar"
+gpg --armor --detach-sig 
"flink-table-store-hive-connector-3.1-${RELEASE_VERSION}.jar"
+gpg --armor --detach-sig 
"flink-table-store-hive-connector-2.3-${RELEASE_VERSION}.jar"
+gpg --armor --detach-sig 
"flink-table-store-hive-connector-2.2-${RELEASE_VERSION}.jar"
+gpg --armor --detach-sig 
"flink-table-store-hive-connector-2.1-${RELEASE_VERSION}.jar"
+gpg --armor --detach-sig 
"flink-table-store-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar"
 gpg --armor --detach-sig "flink-table-store-spark-3.3-${RELEASE_VERSION}.jar"
 gpg --armor --detach-sig "flink-table-store-spark-3.2-${RELEASE_VERSION}.jar"
 gpg --armor --detach-sig "flink-table-store-spark-3.1-${RELEASE_VERSION}.jar"
@@ -100,14 +91,12 @@ gpg --armor --detach-sig 
"flink-table-store-spark-2-${RELEASE_VERSION}.jar"
 $SHASUM "flink-table-store-flink-1.16-${RELEASE_VERSION}.jar" > 
"flink-table-store-flink-1.16-${RELEASE_VERSION}.jar.sha512"
 $SHASUM "flink-table-store-flink-1.15-${RELEASE_VERSION}.jar" > 
"flink-table-store-flink-1.15-${RELEASE_VERSION}.jar.sha512"
 $SHASUM "flink-table-store-flink-1.14-${RELEASE_VERSION}.jar" > 
"flink-table-store-flink-1.14-${RELEASE_VERSION}.jar.sha512"
-$SHASUM "flink-table-store-hive-catalog-${RELEASE_VERSION}_3.1.jar" > 
"flink-table-store-hive-catalog-${RELEASE_VERSION}_3.1.jar.sha512"
-$SHASUM "flink-table-store-hive-catalog-${RELEASE_VERSION}_2.3.jar" > 
"flink-table-store-hive-catalog-${RELEASE_VERSION}_2.3.jar.sha512"
-$SHASUM "flink-table-store-hive-catalog-${RELEASE_VERSION}_2.2.jar" > 
"flink-table-store-hive-catalog-${RELEASE_VERSION}_2.2.jar.sha512"
-$SHASUM "flink-table-store-hive-catalog-${RELEASE_VERSION}_2.1.jar" > 
"flink-table-store-hive-catalog-${RELEASE_VERSION}_2.1.jar.sha512"
-$SHASUM "flink-table-store-hive-connector-${RELEASE_VERSION}_3.1.jar" > 
"flink-table-store-hive-connector-${RELEASE_VERSION}_3.1.jar.sha512"
-$SHASUM "flink-table-store-hive-connector-${RELEASE_VERSION}_2.3.jar" > 
"flink-table-store-hive-connector-${RELEASE_VERSION}_2.3.jar.sha512"
-$SHASUM "flink-table-store-hive-connector-${RELEASE_VERSION}_2.2.jar" > 
"flink-table-store-hive-connector-${RELEASE_VERSION}_2.2.jar.sha512"
-$SHASUM "flink-table-store-hive-connector-${RELEASE_VERSION}_2.1.jar" > 
"flink-table-store-hive-connector-${RELEASE_VERSION}_2.1.jar.sha512"
+$SHASUM "flink-table-store-hive-catalog-${RELEASE_VERSION}.jar" > 
"flink-table-store-hive-catalog-${RELEASE_VERSION}.jar.sha512"
+$SHASUM "flink-table-store-hive-connector-3.1-${RELEASE_VERSION}.jar" > 
"flink-table-store-hive-connector-3.1-${RELEASE_VERSION}.jar.sha512"
+$SHASUM "flink-table-store-hive-connector-2.3-${RELEASE_VERSION}.jar" > 
"flink-table-store-hive-connector-2.3-${RELEASE_VERSION}.jar.sha512"
+$SHASUM "flink-table-store-hive-connector-2.2-${RELEASE_VERSION}.jar" > 
"flink-table-store-hive-connector-2.2-${RELEASE_VERSION}.jar.sha512"
+$SHASUM "flink-table-store-hive-connector-2.1-${RELEASE_VERSION}.jar" > 
"flink-table-store-hive-connector-2.1-${RELEASE_VERSION}.jar.sha512"
+$SHASUM "flink-table-store-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar" 
> "flink-table-store-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar.sha512"
 $SHASUM "flink-table-store-spark-3.3-${RELEASE_VERSION}.jar" > 
"flink-table-store-spark-3.3-${RELEASE_VERSION}.jar.sha512"
 $SHASUM "flink-table-store-spark-3.2-${RELEASE_VERSION}.jar" > 
"flink-table-store-spark-3.2-${RELEASE_VERSION}.jar.sha512"
 $SHASUM "flink-table-store-spark-3.1-${RELEASE_VERSION}.jar" > 
"flink-table-store-spark-3.1-${RELEASE_VERSION}.jar.sha512"

Reply via email to