This is an automated email from the ASF dual-hosted git repository. traky pushed a commit to branch docs-apisix-build-patch in repository https://gitbox.apache.org/repos/asf/apisix.git
commit 6c101d08ae66e2cd9070f9538103357c3509ac50 Author: Traky Deng <[email protected]> AuthorDate: Sat Oct 12 13:55:20 2024 +0800 correction --- docs/en/latest/building-apisix.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/latest/building-apisix.md b/docs/en/latest/building-apisix.md index a88cfa883..4e65759f6 100644 --- a/docs/en/latest/building-apisix.md +++ b/docs/en/latest/building-apisix.md @@ -45,16 +45,16 @@ To build and package APISIX for a specific platform, see [apisix-build-tools](ht ## Building APISIX from source -First of all, we need to specify the version `APISIX_VERSION` to be installed: +First of all, we need to specify the branch to be built: ```shell -APISIX_VERSION='3.11.0' +APISIX_BRANCH='release/3.11.0' ``` Then, you can run the following command to clone the APISIX source code from Github: ```shell -git clone --depth 1 --branch ${APISIX_VERSION} https://github.com/apache/apisix.git apisix-${APISIX_VERSION} +git clone --depth 1 --branch ${APISIX_BRANCH} https://github.com/apache/apisix.git apisix-${APISIX_BRANCH} ``` Alternatively, you can also download the source package from the [Downloads](https://apisix.apache.org/downloads/) page. Note that source packages here are not distributed with test cases. @@ -62,7 +62,7 @@ Alternatively, you can also download the source package from the [Downloads](htt Next, navigate to the directory, install dependencies, and build APISIX. ```shell -cd apisix-${APISIX_VERSION} +cd apisix-${APISIX_BRANCH} make deps make install ```
