Skip to content

Commit 463fab6

Browse files
authored
feat: support openresty 1.27.1.2 (#105)
1 parent 38f4ff8 commit 463fab6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
op_version:
1414
- "1.25.3.1"
15-
- "1.27.1.1"
15+
- "1.27.1.2"
1616

1717
runs-on: "ubuntu-latest"
1818

patch/patch.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,18 @@ elif [[ "$root" == *openresty-1.25.3.* ]]; then
6666
apply_patch "$patch_dir" "$root" "lua-resty-core" "0.1.28"
6767
apply_patch "$patch_dir" "$root" "ngx_lua" "0.10.26"
6868
apply_patch "$patch_dir" "$root" "ngx_stream_lua" "0.0.14"
69-
elif [[ "$root" == *openresty-1.27.1.* ]]; then
69+
elif [[ "$root" == *openresty-1.27.1.1 ]]; then
7070
patch_dir="$PWD/1.27.1.1"
7171
apply_patch "$patch_dir" "$root" "nginx" "1.27.1"
7272
apply_patch "$patch_dir" "$root" "lua-resty-core" "0.1.30"
7373
apply_patch "$patch_dir" "$root" "ngx_lua" "0.10.27"
7474
apply_patch "$patch_dir" "$root" "ngx_stream_lua" "0.0.15"
75+
elif [[ "$root" == *openresty-1.27.1.2 ]]; then
76+
patch_dir="$PWD/1.27.1.1"
77+
apply_patch "$patch_dir" "$root" "nginx" "1.27.1"
78+
apply_patch "$patch_dir" "$root" "lua-resty-core" "0.1.31"
79+
apply_patch "$patch_dir" "$root" "ngx_lua" "0.10.28"
80+
apply_patch "$patch_dir" "$root" "ngx_stream_lua" "0.0.16"
7581
else
7682
err "can't detect OpenResty version"
7783
exit 1

0 commit comments

Comments
 (0)