upgraded resty-cli to 0.27rc4.
bugfix: util/dist-check: did not work with the latest resty-cli bundled.
This commit is contained in:
parent
54f2309e2b
commit
b73e42d86a
|
@ -91,7 +91,7 @@ sh "sudo $prefix/nginx/sbin/nginx";
|
||||||
sh "curl -si localhost/lua|grep $lua";
|
sh "curl -si localhost/lua|grep $lua";
|
||||||
sh "curl -si localhost/lua|grep $ver";
|
sh "curl -si localhost/lua|grep $ver";
|
||||||
sh "curl -si localhost/cjson|grep 'json.safe: '";
|
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";
|
sh "sudo $prefix/nginx/sbin/nginx -sstop";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
$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
|
tar -xzf resty-cli-$ver.tar.gz || exit 1
|
||||||
mv openresty-resty-cli-* resty-cli-$ver || exit 1
|
mv openresty-resty-cli-* resty-cli-$ver || exit 1
|
||||||
|
|
Loading…
Reference in New Issue