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

yangjiaqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new 3bf6270b chore: disable ai mvn building (#334)
3bf6270b is described below

commit 3bf6270b31a848bab0d7db8ae1ac033483ef9f55
Author: imbajin <[email protected]>
AuthorDate: Mon Mar 25 15:19:47 2024 +0800

    chore: disable ai mvn building (#334)
    
    Update validate-release.yml
---
 .github/workflows/validate-release.yml                       | 12 +++++++-----
 README.md                                                    |  2 +-
 .../cn/docs/contribution-guidelines/committer-guidelines.md  |  4 ++--
 dist/validate-release.sh                                     |  6 +++---
 4 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/validate-release.yml 
b/.github/workflows/validate-release.yml
index 221ace5d..2920f6ad 100644
--- a/.github/workflows/validate-release.yml
+++ b/.github/workflows/validate-release.yml
@@ -5,9 +5,11 @@ on:
     inputs:
       release_version:
         required: true
-        default: '1.2.0'
+        description: svn release version
+        default: '1.3.0'
       gpg_user:
         required: true
+        description: current release manager(gpg username)
         default: 'imbajin'
 
   push:
@@ -163,8 +165,8 @@ jobs:
             done
 
             # 4.8 test compile the packages
-            if [[ ${{ matrix.java_version }} == 8 && "$i" =~ "computer" ]]; 
then
-              echo "skip computer module in java8"
+            if [[ (${{ matrix.java_version }} == 8 && "$i" =~ "computer") ]] 
|| [[ "$i" =~ 'hugegraph-ai' ]]; then
+              echo "Skip compile computer module in java8 & AI module in all 
versions"
               popd || exit
               continue
             fi
@@ -186,7 +188,7 @@ jobs:
           bin/start-hugegraph.sh || exit
           popd || exit
 
-      - name: 6. Run Compiled Packages In ToolChain (Loader & Tool & Hubble)
+      - name: 6. Run Compiled Packages In Toolchain (Loader & Tool & Hubble)
         run: |
           cd dist/${{ inputs.release_version }} || exit
 
@@ -336,6 +338,6 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        java_version: [ '8','11' ]
+        java_version: ['8','11']
         # TODO: support windows-latest or other OS in future
         os: [ubuntu-latest, macos-latest]
diff --git a/README.md b/README.md
index 2a678be2..3911385a 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ The functions of this system include but are not limited to:
 - The attributes of edges and vertices can be indexed to support precise 
query, range query, and full-text search
 - The storage system adopts plug-in mode, supporting RocksDB, Cassandra, 
ScyllaDB, HBase, MySQL, PostgreSQL, Palo, and InMemory, etc.
 - Integrate with big data systems such as Hadoop and Spark GraphX, and support 
Bulk Load operations
-- Support high availability HA, multiple copies of data, backup recovery, 
monitoring, etc.
+- Support high availability(HA), multiple copies of data, backup recovery, 
monitoring, etc.
 
 ### Modules
 
diff --git a/content/cn/docs/contribution-guidelines/committer-guidelines.md 
b/content/cn/docs/contribution-guidelines/committer-guidelines.md
index 3dbf29c9..9d99ba85 100644
--- a/content/cn/docs/contribution-guidelines/committer-guidelines.md
+++ b/content/cn/docs/contribution-guidelines/committer-guidelines.md
@@ -33,7 +33,7 @@ weight: 5
 >
 > `ASF-INFRA` 建议**避免**使用不易读的 `ID` 直接作为邮件**人名代指** (例如**避免** `simon321` 或 
 > `wh0isSim0n` 😄)
 > 
-> 另发送邮件最好选择 **"纯文本"** 模式, 否则排版在 ASF Mail UI 中可能会乱
+> 另发送邮件最好选择 **"纯文本"** 模式,否则排版在 ASF Mail UI 中可能会乱
 
 ```markdown
 To: [email protected]
@@ -253,7 +253,7 @@ xxx
 2. 打开 PDF 并填写相关内容,均需要全英文填写,建议使用 PDF 工具编辑并署名
    1. **Full name**: 名字在前,姓氏在后
    2. **Public name**: 可以不填,默认和 `Full name` 相同
-   3. 勾选 check this box only if you entered names with your family name first
+   3. 勾选 check this box only if you enter names with your family name first
    4. **Postal Address**: 英文地址,从小地方到大地方的顺序来写,需详细到门牌号
    5. **Country:** 所在国家英文
    6. **E-mail**: 邮箱地址,建议与上述邮件中使用的邮箱相同
diff --git a/dist/validate-release.sh b/dist/validate-release.sh
index e7c9a66e..3a3daefe 100755
--- a/dist/validate-release.sh
+++ b/dist/validate-release.sh
@@ -22,7 +22,7 @@
 # 4. Run server & toolchain in binary package
 
 # if we don't want to exit after '|', remove "-o pipefail"
-set -euxo pipefail
+set -exo pipefail
 
 # release version (input by committer)
 RELEASE_VERSION=$1 # like 1.2.0
@@ -153,8 +153,8 @@ for i in *src.tar.gz; do
   done
 
   # 4.8: test compile the packages
-  if [[ $JAVA_VERSION == 8 && "$i" =~ "computer" ]]; then
-    echo "skip computer module in java8"
+  if [[ ($JAVA_VERSION == 8 && "$i" =~ "computer") ]] || [[ "$i" =~ 
'hugegraph-ai' ]]; then
+    echo "Skip compile computer module in java8 & AI module in all versions"
     popd
     continue
   fi

Reply via email to