update version to 2.0.0
This commit is contained in:
parent
c61f87e34a
commit
2128d5db29
10
README.en.md
10
README.en.md
@ -9,12 +9,12 @@ Common functions include database installtion, startup, stop, upgrade, backup, s
|
||||
- See the compilation description of the [opengauss third-party-software](https://gitee.com/opengauss/openGauss-server/blob/master/README.en.md#compiling-third-party-software)。
|
||||
The final compilation and build result is stored in the binarylibs directory at the same level as openGauss-third_party.
|
||||
The binarylibs directory will be the value of '-3rd' for build.sh
|
||||
You can obtain the binarylibs we have compiled. [openGauss-third_party_binarylibs.tar.gz](https://opengauss.obs.cn-south-1.myhuaweicloud.com/1.1.0/openGauss-third_party_binarylibs.tar.gz)
|
||||
You can obtain the binarylibs we have compiled. [openGauss-third_party_binarylibs.tar.gz](https://opengauss.obs.cn-south-1.myhuaweicloud.com/2.0.0/openGauss-third_party_binarylibs.tar.gz)
|
||||
|
||||
- ./build.sh -3rd ${BINARYLIBS_PATH}
|
||||
The generated installation package is stored in the ./package directory:
|
||||
openGauss-1.1.0-CentOS-64bit-om.sha256
|
||||
openGauss-1.1.0-CentOS-64bit-om.tar.gz
|
||||
openGauss-2.0.0-CentOS-64bit-om.sha256
|
||||
openGauss-2.0.0-CentOS-64bit-om.tar.gz
|
||||
|
||||
#### Installation
|
||||
|
||||
@ -22,7 +22,7 @@ The OM tool strongly depends on opengaussServer. Please see the [opengauss Insta
|
||||
|
||||
## Quick Start
|
||||
|
||||
See the [Quick Start](https://opengauss.org/en/docs/1.1.0/docs/Quickstart/Quickstart.html).
|
||||
See the [Quick Start](https://opengauss.org/en/docs/2.0.0/docs/Quickstart/Quickstart.html).
|
||||
|
||||
## Docs
|
||||
|
||||
@ -46,7 +46,7 @@ Welcome contributions. See our [Contributor](https://opengauss.org/en/contributi
|
||||
|
||||
## Release Notes
|
||||
|
||||
For the release notes, see our [RELEASE](https://opengauss.org/en/docs/1.1.0/docs/Releasenotes/Releasenotes.html).
|
||||
For the release notes, see our [RELEASE](https://opengauss.org/en/docs/2.0.0/docs/Releasenotes/Releasenotes.html).
|
||||
|
||||
## License
|
||||
|
||||
|
10
README.md
10
README.md
@ -8,11 +8,11 @@
|
||||
|
||||
- 参考opengauss的[三方库说明](https://gitee.com/opengauss/openGauss-server#%E7%BC%96%E8%AF%91%E7%AC%AC%E4%B8%89%E6%96%B9%E8%BD%AF%E4%BB%B6),准备好编译完的三方库,
|
||||
目录名记为 ${BINARYLIBS_PATH} 。
|
||||
提供编译好的三方库二进制可以直接下载使用: [openGauss-third_party_binarylibs.tar.gz](https://opengauss.obs.cn-south-1.myhuaweicloud.com/1.1.0/openGauss-third_party_binarylibs.tar.gz)
|
||||
提供编译好的三方库二进制可以直接下载使用: [openGauss-third_party_binarylibs.tar.gz](https://opengauss.obs.cn-south-1.myhuaweicloud.com/2.0.0/openGauss-third_party_binarylibs.tar.gz)
|
||||
- ./build.sh -3rd ${BINARYLIBS_PATH}
|
||||
命令执行成功后,生成的包在package目录下:
|
||||
openGauss-1.1.0-CentOS-64bit-om.sha256
|
||||
openGauss-1.1.0-CentOS-64bit-om.tar.gz
|
||||
openGauss-2.0.0-CentOS-64bit-om.sha256
|
||||
openGauss-2.0.0-CentOS-64bit-om.tar.gz
|
||||
|
||||
|
||||
#### 安装教程
|
||||
@ -21,7 +21,7 @@ OM工具强依赖opengaussServer,安装教程参考[opengauss安装指南](htt
|
||||
|
||||
## 快速入门
|
||||
|
||||
参考[快速入门](https://opengauss.org/zh/docs/1.1.0/docs/Quickstart/Quickstart.html)。
|
||||
参考[快速入门](https://opengauss.org/zh/docs/2.0.0/docs/Quickstart/Quickstart.html)。
|
||||
|
||||
## 文档
|
||||
|
||||
@ -45,7 +45,7 @@ OM工具强依赖opengaussServer,安装教程参考[opengauss安装指南](htt
|
||||
|
||||
## 发行说明
|
||||
|
||||
请参见[发行说明](https://opengauss.org/zh/docs/1.1.0/docs/Releasenotes/Releasenotes.html)。
|
||||
请参见[发行说明](https://opengauss.org/zh/docs/2.0.0/docs/Releasenotes/Releasenotes.html)。
|
||||
|
||||
## 许可证
|
||||
|
||||
|
4
build.sh
4
build.sh
@ -2,7 +2,7 @@
|
||||
|
||||
declare binarylib_dir='None'
|
||||
declare module_name="openGauss"
|
||||
declare version_number='1.1.0'
|
||||
declare version_number='2.0.0'
|
||||
declare version_Kernel='92.298'
|
||||
ROOT_DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
||||
echo "ROOT_DIR : $ROOT_DIR"
|
||||
@ -136,7 +136,7 @@ function version_cfg()
|
||||
gitversion=$(git log | grep commit | head -1 | awk '{print $2}' | cut -b 1-8)
|
||||
commits=$(git log | grep "See in merge request" | wc -l)
|
||||
mrid=$(git log | grep "See in merge request" | head -1 | awk -F! '{print $2}' | grep -o '[0-9]\+')
|
||||
om_version="(openGauss OM 1.1.0 build $gitversion) compiled at `date -d today +\"%Y-%m-%d %H:%M:%S\"` commit $commits last mr $mrid"
|
||||
om_version="(openGauss OM 2.0.0 build $gitversion) compiled at `date -d today +\"%Y-%m-%d %H:%M:%S\"` commit $commits last mr $mrid"
|
||||
version_file=${PKG_TMP_DIR}/version.cfg
|
||||
touch ${version_file}
|
||||
echo "${module_name}-${version_number}">${version_file}
|
||||
|
@ -100,29 +100,29 @@ function fn_get_openGauss_tar()
|
||||
fi
|
||||
|
||||
cd "$install_tar"
|
||||
if [ "`find $cur_path/../ -maxdepth 1 -name "openGauss-1.1.0-*"|wc -l`" -lt "3" ]
|
||||
if [ "`find $cur_path/../ -maxdepth 1 -name "openGauss-2.0.0-*"|wc -l`" -lt "3" ]
|
||||
then
|
||||
if [ "`find . -name "openGauss-1.1.0-*"|wc -l`" -lt "3" ]
|
||||
if [ "`find . -name "openGauss-2.0.0-*"|wc -l`" -lt "3" ]
|
||||
then
|
||||
url="https://opengauss.obs.cn-south-1.myhuaweicloud.com/1.1.0/${system_arch}/openGauss-1.1.0-${system_name}-64bit-all.tar.gz"
|
||||
url="https://opengauss.obs.cn-south-1.myhuaweicloud.com/2.0.0/${system_arch}/openGauss-2.0.0-${system_name}-64bit-all.tar.gz"
|
||||
echo "Downloading openGauss tar from official website at ${install_tar}"
|
||||
wget $url --timeout=30 --tries=3 && tar -zxf openGauss-1.1.0-${system_name}-64bit-all.tar.gz
|
||||
wget $url --timeout=30 --tries=3 && tar -zxf openGauss-2.0.0-${system_name}-64bit-all.tar.gz
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "wget error. The $install_tar need openGauss-1.1.0-${system_name}-64bit-om.tar.gz"
|
||||
echo "wget error. The $install_tar need openGauss-1.1.0-${system_name}-64bit.sha256"
|
||||
echo "wget error. The $install_tar need openGauss-1.1.0-${system_name}-64bit.tar.bz2"
|
||||
echo "wget error. The $install_tar need openGauss-2.0.0-${system_name}-64bit-om.tar.gz"
|
||||
echo "wget error. The $install_tar need openGauss-2.0.0-${system_name}-64bit.sha256"
|
||||
echo "wget error. The $install_tar need openGauss-2.0.0-${system_name}-64bit.tar.bz2"
|
||||
return 1
|
||||
else
|
||||
echo "wget success."
|
||||
fi
|
||||
fi
|
||||
else
|
||||
if [ "`find . -name "openGauss-1.1.0-*"|wc -l`" -lt "3" ]
|
||||
if [ "`find . -name "openGauss-2.0.0-*"|wc -l`" -lt "3" ]
|
||||
then
|
||||
cp "$cur_path/../openGauss-1.1.0-${system_name}-64bit-om.tar.gz" \
|
||||
"$cur_path/../openGauss-1.1.0-${system_name}-64bit.tar.bz2" \
|
||||
"$cur_path/../openGauss-1.1.0-${system_name}-64bit.sha256" "$install_tar"
|
||||
cp "$cur_path/../openGauss-2.0.0-${system_name}-64bit-om.tar.gz" \
|
||||
"$cur_path/../openGauss-2.0.0-${system_name}-64bit.tar.bz2" \
|
||||
"$cur_path/../openGauss-2.0.0-${system_name}-64bit.sha256" "$install_tar"
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "copy Installation package error."
|
||||
@ -291,7 +291,7 @@ function fn_tar()
|
||||
echo "Get openGauss Installation package success."
|
||||
fi
|
||||
cd "${install_tar}"
|
||||
tar -zxf "openGauss-1.1.0-${system_name}-64bit-om.tar.gz"
|
||||
tar -zxf "openGauss-2.0.0-${system_name}-64bit-om.tar.gz"
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "tar package error."
|
||||
|
Loading…
x
Reference in New Issue
Block a user