From b73e42d86aebb2b52f0b6ffc31ee2e2d36cf6f1b Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Thu, 1 Oct 2020 23:09:34 -0700 Subject: [PATCH] upgraded resty-cli to 0.27rc4. bugfix: util/dist-check: did not work with the latest resty-cli bundled. --- util/dist-check | 2 +- util/mirror-tarballs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/dist-check b/util/dist-check index 87647a4..c83ee6a 100755 --- a/util/dist-check +++ b/util/dist-check @@ -91,7 +91,7 @@ sh "sudo $prefix/nginx/sbin/nginx"; sh "curl -si localhost/lua|grep $lua"; sh "curl -si localhost/lua|grep $ver"; sh "curl -si localhost/cjson|grep 'json.safe: '"; -sh qq{$prefix/bin/resty -e 'ngx.say("Hello World!")'|grep 'Hello World'}; +sh qq{$prefix/bin/resty --no-stream -e 'ngx.say("Hello World!")'|grep 'Hello World'}; sh "sudo $prefix/nginx/sbin/nginx -sstop"; } diff --git a/util/mirror-tarballs b/util/mirror-tarballs index feec630..2536d06 100755 --- a/util/mirror-tarballs +++ b/util/mirror-tarballs @@ -668,7 +668,7 @@ mv openresty-redis2-nginx-module-* redis2-nginx-module-$ver || exit 1 ################################# -ver=0.27rc3 +ver=0.27rc4 $root/util/get-tarball "https://github.com/openresty/resty-cli/tarball/v$ver" -O resty-cli-$ver.tar.gz || exit 1 tar -xzf resty-cli-$ver.tar.gz || exit 1 mv openresty-resty-cli-* resty-cli-$ver || exit 1