Skip to content

Commit 8e4f2af

Browse files
update array style
1 parent a110d0c commit 8e4f2af

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

.github/workflows/make-releases.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
matrix:
3232
# NGINX versions to build/test against
3333
nginx-version:
34-
- '1.20.2' # legacy
35-
- '1.22.1' # legacy
36-
- '1.24.0' # legacy
37-
- '1.26.2' # stable
38-
- '1.26.3' # stable
39-
- '1.27.3' # mainline
40-
- '1.27.4' # mainline
34+
- 1.20.2 # legacy
35+
- 1.22.1 # legacy
36+
- 1.24.0 # legacy
37+
- 1.26.2 # stable
38+
- 1.26.3 # stable
39+
- 1.27.3 # mainline
40+
- 1.27.4 # mainline
4141

4242
# The following versions of libjwt are compatible:
4343
# * v1.0 - v1.12.0
@@ -47,7 +47,10 @@ jobs:
4747
# * Debian and Ubuntu's repos have v1.10.2
4848
# * EPEL has v1.12.1
4949
# This compiles against each version prior to a breaking change and the latest release
50-
libjwt-version: ['1.12.0', '1.14.0', '1.15.3']
50+
libjwt-version:
51+
- 1.12.0
52+
- 1.14.0
53+
- 1.15.3
5154
runs-on: ubuntu-latest
5255
steps:
5356

scripts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ SSL_IMAGE_MAP[$SSL_VERSION_3_2_1]="bookworm-slim:openssl-${SSL_VERSION_3_2_1}"
2020

2121
# supported NGINX versions -- for binary distribution
2222
NGINX_VERSIONS=(
23-
'1.20.2' # legacy
24-
'1.22.1' # legacy
25-
'1.24.0' # legacy
26-
'1.26.2' # stable
27-
'1.26.3' # stable
28-
'1.27.3' # mainline
29-
'1.27.4' # mainline
23+
1.20.2 # legacy
24+
1.22.1 # legacy
25+
1.24.0 # legacy
26+
1.26.2 # stable
27+
1.26.3 # stable
28+
1.27.3 # mainline
29+
1.27.4 # mainline
3030
)
3131
NGINX_VERSION=${NGINX_VERSION:-${NGINX_VERSIONS[-1]}}
3232
IMAGE_NAME=${IMAGE_NAME:-nginx-auth-jwt}
@@ -139,8 +139,7 @@ make_release() {
139139
-C bin/usr/lib64/nginx/modules ngx_http_auth_jwt_module.so > /dev/null
140140
}
141141

142-
# Create releases for the current mainline and stable version, as well as the 2 most recent "legacy" versions.
143-
# See: https://nginx.org/en/download.html
142+
# Create releases for all NGINX versions defined in `NGINX_VERSIONS`.
144143
make_releases() {
145144
local moduleVersion=$(git describe --tags --abbrev=0)
146145

0 commit comments

Comments
 (0)