File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ build_module() {
25
25
docker image pull debian:bullseye-slim
26
26
docker image pull nginx:${NGINX_VERSION}
27
27
28
- printf " ${BLUE} Building module...${NC} \n"
28
+ printf " ${BLUE} Building module for NGINX ${NGINX_VERSION} ...${NC} \n"
29
29
docker image build -t ${FULL_IMAGE_NAME} :latest -t ${FULL_IMAGE_NAME} :${NGINX_VERSION} ${dockerArgs} \
30
30
--build-arg NGINX_VERSION=${NGINX_VERSION} \
31
31
--build-arg SOURCE_HASH=${sourceHash} .
@@ -82,15 +82,16 @@ cp_bin() {
82
82
83
83
make_release () {
84
84
local moduleVersion=${1}
85
- local nginxVersion=${2}
85
+
86
+ NGINX_VERSION=${2}
86
87
87
- printf " ${BLUE} Making release for version ${moduleVersion} for NGINX ${nginxVersion } ...${NC} \n"
88
+ printf " ${BLUE} Making release for version ${moduleVersion} for NGINX ${NGINX_VERSION } ...${NC} \n"
88
89
89
90
build_module
90
91
cp_bin
91
92
92
93
mkdir -p release
93
- tar -czvf release/ngx_http_auth_jwt_module_${moduleVersion} _nginx_${nginxVersion } .tgz \
94
+ tar -czvf release/ngx_http_auth_jwt_module_${moduleVersion} _nginx_${NGINX_VERSION } .tgz \
94
95
README.md \
95
96
-C bin/usr/lib64/nginx/modules ngx_http_auth_jwt_module.so > /dev/null
96
97
}
You can’t perform that action at this time.
0 commit comments