From 1806317c2ce897cb38fbae5283f17d1451308244 Mon Sep 17 00:00:00 2001 From: Diego Torres Date: Sun, 7 May 2017 22:27:29 +0000 Subject: [PATCH] update download instructions once and for all, to be always updated --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ba1df333..31a75638 100644 --- a/README.md +++ b/README.md @@ -55,10 +55,10 @@ Or via json file: } ```` -Using [Curl](http://curl.haxx.se): +Using [Curl](http://curl.haxx.se) to always download and decompress the latest release: ``` -$ curl --silent --location https://github.com/ifsnop/mysqldump-php/archive/v2.2.tar.gz | tar xvfz - +$ curl --silent --location https://api.github.com/repos/ifsnop/mysqldump-php/releases | grep -i tarball_url | head -n 1 | cut -d '"' -f 4 | xargs curl --location --silent | tar xvz ``` ## Getting started