diff --git a/check-version.sh b/check-version.sh index dfeced8..ca111e1 100644 --- a/check-version.sh +++ b/check-version.sh @@ -4,7 +4,7 @@ REPO="nginx/nginx" # Get tag name using Github Rest API -TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name') +TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases | jq -r '.[].tag_name' | sort -V | tail -n1) # Trim prefix VERSION=${TAG_NAME//release-/} diff --git a/pkg.info b/pkg.info index 4d50ace..1239ff4 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: nginx description: Lightweight HTTP server and IMAP/POP3 proxy server -version: 1.29.6 +version: 1.29.7 revision: 1 url: https://nginx.org/ license: BSD-2-Clause @@ -36,4 +36,4 @@ downloads: - url: https://github.com/nginx/nginx/archive/refs/tags/release-${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: bb0b57c5506441fff4d47680bf30e0f77bf3b852be6f5cb6a16b0671286903ec + checksum: 358cf0b50f3fe6c2a94edf8567c5b21184cf2fe8561cab9bc59ccf22479ec9ed