File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,17 @@ GREEN='\033[0;32m'
55RED=' \033[0;31m'
66NC=' \033[0m'
77
8+ # supported NGINX versions -- for binary distribution
9+ NGINX_VERSION_MAINLINE=' 1.25.3'
10+ NGINX_VERSION_STABLE=' 1.24.0'
11+ NGINX_VERSION_LEGACY_1=' 1.22.1'
12+ NGINX_VERSION_LEGACY_2=' 1.20.2'
13+
814export ORG_NAME=${ORG_NAME:- teslagov}
915export IMAGE_NAME=${IMAGE_NAME:- jwt-nginx}
1016export FULL_IMAGE_NAME=${ORG_NAME} /${IMAGE_NAME}
1117export CONTAINER_NAME_PREFIX=${CONTAINER_NAME_PREFIX:- jwt-nginx-test}
12- export NGINX_VERSION=${NGINX_VERSION:- 1.24.0 }
18+ export NGINX_VERSION=${NGINX_VERSION:- ${NGINX_VERSION_STABLE} }
1319
1420all () {
1521 build_module
@@ -104,8 +110,8 @@ make_release() {
104110# See: https://nginx.org/en/download.html
105111make_releases () {
106112 local moduleVersion=$( git describe --tags --abbrev=0)
107- local nginxVersions=(' 1.25.1 ' ' 1.24.0 ' ' 1.22.1 ' ' 1.20.2 ' )
108-
113+ local nginxVersions=(${NGINX_VERSION_MAINLINE} ${NGINX_VERSION_STABLE} ${NGINX_VERSION_LEGACY_1} ${NGINX_VERSION_LEGACY_2} )
114+
109115 rm -rf release/*
110116
111117 for v in ${nginxVersions[@]} ; do
You can’t perform that action at this time.
0 commit comments