diff --git a/.github/workflows/deploy_docs.yaml b/.github/workflows/deploy_docs.yaml index d89c9c3..24e184a 100644 --- a/.github/workflows/deploy_docs.yaml +++ b/.github/workflows/deploy_docs.yaml @@ -57,11 +57,11 @@ jobs: VERSION="latest" else VERSION=$BRANCH - # save the full version string, do not change this name - REAL_VERSION=$VERSION # make short version as directory name VERSION=$(echo $BRANCH | awk -F. '{print $1"."$2}') fi + # save the full version string, do not change this name + REAL_VERSION=$VERSION # do not remove DOCS_BRANCH echo "DOCS_BRANCH=$BRANCH" >> $GITHUB_ENV echo "VERSION=$VERSION" >> $GITHUB_ENV diff --git a/zh_CN/getting-started/centos.md b/zh_CN/getting-started/centos.md index 9f27478..7fd9f8a 100644 --- a/zh_CN/getting-started/centos.md +++ b/zh_CN/getting-started/centos.md @@ -12,11 +12,11 @@ Datalayers 支持的 CentOS 版本为: :::: tabs ::: tab amd64 -1. 下载安装包,点击下载rpm安装包。 +1. 下载安装包,点击下载rpm安装包。 2. 通过如下命令安装: ``` bash -sudo yum localinstall ./datalayers-2.2.1-el7-amd64.rpm +sudo yum localinstall ./datalayers-{@version_number@}-el7-amd64.rpm ``` ::: diff --git a/zh_CN/getting-started/docker.md b/zh_CN/getting-started/docker.md index a2b46ff..2600e16 100644 --- a/zh_CN/getting-started/docker.md +++ b/zh_CN/getting-started/docker.md @@ -14,7 +14,7 @@ docker pull datalayers/datalayers:nightly 或者拉取指定版本的镜像: ``` bash -docker pull datalayers/datalayers:v2.2.1 +docker pull datalayers/datalayers:v{@version_number@} ``` 执行以下命令,启动一个 Datalayers 容器: diff --git a/zh_CN/getting-started/ubuntu.md b/zh_CN/getting-started/ubuntu.md index 727942b..3fce583 100644 --- a/zh_CN/getting-started/ubuntu.md +++ b/zh_CN/getting-started/ubuntu.md @@ -10,22 +10,22 @@ Datalayers 支持的 Ubuntu 版本为: :::: tabs ::: tab amd64 -1. 下载安装包, 点击下载deb安装包。 +1. 下载安装包, 点击下载deb安装包。 2. 通过如下命令安装: ``` bash -sudo dpkg -i ./datalayers-2.2.1-ubuntu22.04-amd64.deb +sudo dpkg -i ./datalayers-{@version_number@}-ubuntu22.04-amd64.deb ``` ::: ::: tab arm64 -1. 下载安装包, 点击下载deb安装包。 +1. 下载安装包, 点击下载deb安装包。 2. 通过如下命令安装: ``` bash -sudo dpkg -i ./datalayers-2.2.1-ubuntu22.04-arm64.deb +sudo dpkg -i ./datalayers-{@version_number@}-ubuntu22.04-arm64.deb ``` :::