Skip to content

Commit

Permalink
update release versions; test before release
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMcCullough committed Aug 10, 2023
1 parent 2eaf11c commit 294db83
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,17 @@ cp_bin() {
}

make_release() {
set -e

local moduleVersion=${1}

NGINX_VERSION=${2}

printf "${BLUE}Making release for version ${moduleVersion} for NGINX ${NGINX_VERSION}...${NC}\n"

build_module
rebuild_module
rebuild_test_runner
test
cp_bin

mkdir -p release
Expand All @@ -100,7 +104,7 @@ make_release() {
# See: https://nginx.org/en/download.html
make_releases() {
local moduleVersion=$(git describe --tags --abbrev=0)
local nginxVersions=(1.20.2 1.22.1 1.24.0 1.23.4)
local nginxVersions=('1.25.1' '1.24.0' '1.22.1' '1.20.2')

rm -rf release/*

Expand Down

0 comments on commit 294db83

Please sign in to comment.