Skip to content

Commit d87ab25

Browse files
authored
Update NGINX version check to 1.31.x series
1 parent f8cb961 commit d87ab25

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/software-version-check.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,23 +153,23 @@ jobs:
153153
echo "::warning::Failed to fetch OpenSSL version, keeping current version"
154154
fi
155155
156-
# NGINX (1.29.x series - mainline)
156+
# NGINX (1.31.x series - mainline)
157157
echo "::debug::Fetching NGINX version from GitHub..."
158158
NGINX_API_RESPONSE=$(curl -s https://api.github.com/repos/nginx/nginx/tags)
159159
echo "::debug::NGINX GitHub API Response: $(echo "$NGINX_API_RESPONSE" | jq -r '.[0:5]')"
160160
161-
# Look for the latest 1.29.x version from GitHub tags
161+
# Look for the latest 1.31.x version from GitHub tags
162162
LATEST_NGINX=$(echo "$NGINX_API_RESPONSE" |
163163
jq -r '.[].name // empty' |
164-
grep -E '^release-1\.29\.[0-9]+$' |
164+
grep -E '^release-1\.31\.[0-9]+$' |
165165
sort -V |
166166
tail -n 1 |
167167
sed 's/release-//')
168-
echo "::debug::Latest 1.29.x version found: '$LATEST_NGINX'"
168+
echo "::debug::Latest 1.31.x version found: '$LATEST_NGINX'"
169169
170-
# If no 1.29.x version found, get the latest mainline (odd minor version)
170+
# If no 1.31.x version found, get the latest mainline (odd minor version)
171171
if [[ -z "$LATEST_NGINX" ]]; then
172-
echo "::debug::No 1.29.x version found, looking for latest mainline version..."
172+
echo "::debug::No 1.31.x version found, looking for latest mainline version..."
173173
LATEST_NGINX=$(echo "$NGINX_API_RESPONSE" |
174174
jq -r '.[].name // empty' |
175175
grep -E '^release-1\.(2[579]|3[13579]|4[13579])\.[0-9]+$' |
@@ -425,4 +425,4 @@ jobs:
425425
delete-branch: false
426426
labels: |
427427
automated
428-
dependencies
428+
dependencies

0 commit comments

Comments
 (0)