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() {
2525 docker image pull debian:bullseye-slim
2626 docker image pull nginx:${NGINX_VERSION}
2727
28- printf " ${BLUE} Building module...${NC} \n"
28+ printf " ${BLUE} Building module for NGINX ${NGINX_VERSION} ...${NC} \n"
2929 docker image build -t ${FULL_IMAGE_NAME} :latest -t ${FULL_IMAGE_NAME} :${NGINX_VERSION} ${dockerArgs} \
3030 --build-arg NGINX_VERSION=${NGINX_VERSION} \
3131 --build-arg SOURCE_HASH=${sourceHash} .
@@ -82,15 +82,16 @@ cp_bin() {
8282
8383make_release () {
8484 local moduleVersion=${1}
85- local nginxVersion=${2}
85+
86+ NGINX_VERSION=${2}
8687
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"
8889
8990 build_module
9091 cp_bin
9192
9293 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 \
9495 README.md \
9596 -C bin/usr/lib64/nginx/modules ngx_http_auth_jwt_module.so > /dev/null
9697}
You can’t perform that action at this time.
0 commit comments