From d708141e20638d538a06c3813c771b8e34c3177f Mon Sep 17 00:00:00 2001 From: panjuan Date: Thu, 7 Nov 2019 10:59:56 +0800 Subject: [PATCH] add check list (#329) --- community/content/contribute/release.cn.md | 5 ++++- community/content/contribute/release.en.md | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/community/content/contribute/release.cn.md b/community/content/contribute/release.cn.md index 4bc69f5580..4fd670724c 100644 --- a/community/content/contribute/release.cn.md +++ b/community/content/contribute/release.cn.md @@ -35,6 +35,8 @@ gpg --gen-key 根据提示完成key: +**注意:请使用Apache mail生成GPG的Key。** + ```shell gpg (GnuPG) 2.0.12; Copyright (C) 2009 Free Software Foundation, Inc. This is free software: you are free to change and redistribute it. @@ -250,7 +252,7 @@ cp -f ~/shardingsphere/incubator-shardingsphere/sharding-distribution/sharding-u ### 生成文件签名 ```shell -shasum -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip >> apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip.sha512 +shasum -b -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip >> apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip.sha512 shasum -b -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-jdbc-bin.tar.gz >> apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-jdbc-bin.tar.gz.sha512 shasum -b -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-proxy-bin.tar.gz >> apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-proxy-bin.tar.gz.sha512 shasum -b -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-ui-bin.tar.gz >> apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-ui-bin.tar.gz.sha512 @@ -301,6 +303,7 @@ gpg --verify apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-ui-bin 解压缩`apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip`,进行如下检查: +- 测试是否可以成功Install - 文件夹包含单词`incubating` - 存在`DISCLAIMER`文件 - 存在`LICENSE`和`NOTICE`文件 diff --git a/community/content/contribute/release.en.md b/community/content/contribute/release.en.md index b0f2a84049..a375234243 100644 --- a/community/content/contribute/release.en.md +++ b/community/content/contribute/release.en.md @@ -35,6 +35,8 @@ gpg --gen-key Finish the key creation according to instructions: +**Notice: Please use Apache mail for key creation.** + ```shell gpg (GnuPG) 2.0.12; Copyright (C) 2009 Free Software Foundation, Inc. This is free software: you are free to change and redistribute it. @@ -253,7 +255,7 @@ cp -f ~/shardingsphere/incubator-shardingsphere/sharding-distribution/sharding-u ### Generate sign files ```shell -shasum -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip >> apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip.sha512 +shasum -b -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip >> apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip.sha512 shasum -b -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-jdbc-bin.tar.gz >> apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-jdbc-bin.tar.gz.sha512 shasum -b -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-proxy-bin.tar.gz >> apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-proxy-bin.tar.gz.sha512 shasum -b -a 512 apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-ui-bin.tar.gz >> apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-ui-bin.tar.gz.sha512 @@ -305,6 +307,7 @@ gpg --verify apache-shardingsphere-incubating-${RELEASE.VERSION}-sharding-ui-bin Decompress `apache-shardingsphere-incubating-${RELEASE.VERSION}-src.zip` and check the following items: +* Check whether it can install successfully * The release files have the word `incubating` in their name * `DISCLAIMER` file exists * `LICENSE` and `NOTICE` files exist -- GitLab