szepeviktor / w3-total-cache-fixed

A community driven build of W3 Total Cache. The aim is to continuously incorporate fixes, improvements, and enhancements over the official WordPress release of W3 Total Cache.
https://github.com/szepeviktor/w3-total-cache-fixed/releases
MIT License
237 stars 47 forks source link

Auto-update via WP-CLI #476

Open aelsharawi opened 7 years ago

aelsharawi commented 7 years ago

Hi

I hope u can include a script to cron an auto-update the latest version using wp-cli

szepeviktor commented 7 years ago

Related: https://github.com/szepeviktor/w3-total-cache-fixed/issues/345

aelsharawi commented 7 years ago

we can make use of git clone, better than the WP-CLI

like git clone with the has 0.9.5 to the plugin folder then create a cron job to auto download the git repo each day

nigrosimone commented 7 years ago

we can make use of git clone

@aelsharawi isn't a better idea clone the master branch in production, because it isn't "stable" for sure. When we have a stable version we tag it an release a new version.

aelsharawi commented 7 years ago

Can u use a tag called "latest" which override the old version each time and we use (on our vps) sh script to download it each day and so we are always uptodate?

nigrosimone commented 7 years ago

@aelsharawi the better way is use the latest release features link, it always redirect on the latest stable release.

lvl99 commented 6 years ago

I use composer on CLI and set up this repo as a VCS in the packages and then composer require szepeviktor/w3-total-cache-fixed. Mine's set to just pull from "dev-master" but you can set to any tag/branch you like.