Skip to content

Commit 792a61f

Browse files
authored
feat: pin apisix-nginx-module version (#35)
1 parent a06a036 commit 792a61f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build-apisix-openresty.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ set -x
55
if [ $# -gt 0 ] && [ "$1" == "latest" ]; then
66
ngx_multi_upstream_module_ver=""
77
mod_dubbo_ver=""
8+
apisix_nginx_module_ver=""
89
debug_args="--with-debug"
910
OR_PREFIX=${OR_PREFIX:="/usr/local/openresty-debug"}
1011
else
1112
ngx_multi_upstream_module_ver="-b 1.0.0"
1213
mod_dubbo_ver="-b 1.0.0"
14+
apisix_nginx_module_ver="-b 1.0.0"
1315
debug_args=
1416
OR_PREFIX=${OR_PREFIX:="/usr/local/openresty"}
1517
fi
@@ -39,7 +41,8 @@ fi
3941
if [ "$repo" == apisix-nginx-module ]; then
4042
cp -r "$prev_workdir" .
4143
else
42-
git clone --depth=1 https://github.com/api7/apisix-nginx-module.git
44+
git clone --depth=1 $apisix_nginx_module_ver \
45+
https://github.com/api7/apisix-nginx-module.git
4346
fi
4447

4548
cd ngx_multi_upstream_module || exit 1

0 commit comments

Comments
 (0)