File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 2525fi
2626
2727# Determine the min version of openresty or apisix-base
28- or_version=" 1.17.8.2"
28+ min_or_version=" 1.17.8.2"
29+ max_or_version=" 1.21.5"
2930if [ " $OPENRESTY " == " apisix-base" ]
3031then
31- or_version=" 1.19.9.1.6"
32+ min_or_version=" 1.21.4.1.1"
33+ max_or_version=" 1.21.5"
3234elif [ " $OPENRESTY " == " apisix-base-latest" ]
3335then
3436 # For CI
3537 OPENRESTY=" apisix-base"
36- or_version=" latest"
38+ min_or_version=" latest"
39+ max_or_version=" latest-1"
3740fi
3841
3942# Determine the name of artifact
@@ -50,7 +53,8 @@ fpm -f -s dir -t "$PACKAGE_TYPE" \
5053 -a " $( uname -i) " \
5154 -v " $PACKAGE_VERSION " \
5255 --iteration " $ITERATION " \
53- -d " $OPENRESTY >= $or_version " \
56+ -d " $OPENRESTY >= $min_or_version " \
57+ -d " $OPENRESTY < $max_or_version " \
5458 -d " $dep_ldap " \
5559 -d " $dep_pcre " \
5660 -d " $dep_which " \
You can’t perform that action at this time.
0 commit comments