diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cab8a2..e4585bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: matrix: op_version: - "1.25.3.1" - - "1.27.1.1" + - "1.27.1.2" runs-on: "ubuntu-latest" diff --git a/patch/patch.sh b/patch/patch.sh index e7588fe..5b7ece7 100755 --- a/patch/patch.sh +++ b/patch/patch.sh @@ -66,12 +66,18 @@ elif [[ "$root" == *openresty-1.25.3.* ]]; then apply_patch "$patch_dir" "$root" "lua-resty-core" "0.1.28" apply_patch "$patch_dir" "$root" "ngx_lua" "0.10.26" apply_patch "$patch_dir" "$root" "ngx_stream_lua" "0.0.14" -elif [[ "$root" == *openresty-1.27.1.* ]]; then +elif [[ "$root" == *openresty-1.27.1.1 ]]; then patch_dir="$PWD/1.27.1.1" apply_patch "$patch_dir" "$root" "nginx" "1.27.1" apply_patch "$patch_dir" "$root" "lua-resty-core" "0.1.30" apply_patch "$patch_dir" "$root" "ngx_lua" "0.10.27" apply_patch "$patch_dir" "$root" "ngx_stream_lua" "0.0.15" +elif [[ "$root" == *openresty-1.27.1.2 ]]; then + patch_dir="$PWD/1.27.1.1" + apply_patch "$patch_dir" "$root" "nginx" "1.27.1" + apply_patch "$patch_dir" "$root" "lua-resty-core" "0.1.31" + apply_patch "$patch_dir" "$root" "ngx_lua" "0.10.28" + apply_patch "$patch_dir" "$root" "ngx_stream_lua" "0.0.16" else err "can't detect OpenResty version" exit 1