This is an automated email from the ASF dual-hosted git repository. membphis pushed a commit to branch v1.0 in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
commit 688fef078afbc7be661784b2c5d76cbfc5fd2465 Author: Yuansheng <membp...@gmail.com> AuthorDate: Mon Jan 6 18:02:35 2020 +0800 doc: updated version to 1.0 --- doc/how-to-build-cn.md | 14 +++++++------- doc/how-to-build.md | 14 +++++++------- lua/apisix/core/version.lua | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/how-to-build-cn.md b/doc/how-to-build-cn.md index 84f7f87..019c026 100644 --- a/doc/how-to-build-cn.md +++ b/doc/how-to-build-cn.md @@ -32,20 +32,20 @@ Apache APISIX 的运行环境需要 Nginx 和 etcd, 你需要先下载 Apache Release 源码包: ```shell -wget http://www.apache.org/dist/incubator/apisix/0.9/apache-apisix-0.9-incubating-src.tar.gz -tar zxvf apache-apisix-0.9-incubating-src.tar.gz +wget http://www.apache.org/dist/incubator/apisix/1.0/apache-apisix-1.0-incubating-src.tar.gz +tar zxvf apache-apisix-1.0-incubating-src.tar.gz ``` 安装运行时依赖的 Lua 库: ``` -cd apache-apisix-0.9-rc1-incubating +cd apache-apisix-1.0-rc1-incubating make deps ``` ### 通过 RPM 包安装(CentOS 7) ```shell -sudo yum install -y https://github.com/apache/incubator-apisix/releases/download/v0.9/apisix-0.9-0.el7.noarch.rpm +sudo yum install -y https://github.com/apache/incubator-apisix/releases/download/v1.0/apisix-1.0-0.el7.noarch.rpm ``` ### 通过 Luarocks 安装 (不支持 macOS) @@ -61,11 +61,11 @@ sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/apache/incubator-apis > 通过 Luarocks 安装指定的版本: ```shell -# 安装 apisix 的 0.9 版本 -sudo luarocks install --lua-dir=/path/openresty/luajit apisix 0.9 +# 安装 apisix 的 1.0 版本 +sudo luarocks install --lua-dir=/path/openresty/luajit apisix 1.0 # 老版本 luarocks 可能不支持 `lua-dir` 参数,可以删除该选项 -sudo luarocks install apisix 0.9 +sudo luarocks install apisix 1.0 ``` ## 3. 管理(启动、关闭等)APISIX 服务 diff --git a/doc/how-to-build.md b/doc/how-to-build.md index 50d51e9..f9542ef 100644 --- a/doc/how-to-build.md +++ b/doc/how-to-build.md @@ -33,20 +33,20 @@ You can install Apache APISIX in a variety of ways, including source code packag You need to download the Apache source release first: ```shell -wget http://www.apache.org/dist/incubator/apisix/0.9/apache-apisix-0.9-incubating-src.tar.gz -tar zxvf apache-apisix-0.9-incubating-src.tar.gz +wget http://www.apache.org/dist/incubator/apisix/1.0/apache-apisix-1.0-incubating-src.tar.gz +tar zxvf apache-apisix-1.0-incubating-src.tar.gz ``` Install the Lua libraries that the runtime depends on: ```shell -cd apache-apisix-0.9-rc1-incubating +cd apache-apisix-1.0-rc1-incubating make deps ``` ### Installation via RPM package (CentOS 7) ```shell -sudo yum install -y https://github.com/apache/incubator-apisix/releases/download/v0.9/apisix-0.9-0.el7.noarch.rpm +sudo yum install -y https://github.com/apache/incubator-apisix/releases/download/v1.0/apisix-1.0-0.el7.noarch.rpm ``` ### Installation via Luarocks (macOS not supported) @@ -62,11 +62,11 @@ sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/apache/incubator-apis > Install the specified version via Luarocks: ```shell -# Install version 0.9 -sudo luarocks install --lua-dir=/path/openresty/luajit apisix 0.9 +# Install version 1.0 +sudo luarocks install --lua-dir=/path/openresty/luajit apisix 1.0 # old luarocks not support the `lua-dir` parameter, you can remove this option -sudo luarocks install apisix 0.9 +sudo luarocks install apisix 1.0 ``` ## Manage (start/stop) APISIX Server diff --git a/lua/apisix/core/version.lua b/lua/apisix/core/version.lua index 4838aef..57f3dcf 100644 --- a/lua/apisix/core/version.lua +++ b/lua/apisix/core/version.lua @@ -15,5 +15,5 @@ -- limitations under the License. -- return { - VERSION = "0.9" + VERSION = "1.0" }