File tree 1 file changed +9
-3
lines changed
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'
5
5
RED=' \033[0;31m'
6
6
NC=' \033[0m'
7
7
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
+
8
14
export ORG_NAME=${ORG_NAME:- teslagov}
9
15
export IMAGE_NAME=${IMAGE_NAME:- jwt-nginx}
10
16
export FULL_IMAGE_NAME=${ORG_NAME} /${IMAGE_NAME}
11
17
export 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} }
13
19
14
20
all () {
15
21
build_module
@@ -104,8 +110,8 @@ make_release() {
104
110
# See: https://nginx.org/en/download.html
105
111
make_releases () {
106
112
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
+
109
115
rm -rf release/*
110
116
111
117
for v in ${nginxVersions[@]} ; do
You can’t perform that action at this time.
0 commit comments