rdig / wpa-cli

NPM command-line utility to administer Wordpress installations
MIT License
1 stars 0 forks source link

Compare if local version is older that the newest one #14

Open rdig opened 8 years ago

rdig commented 8 years ago

At the moment, we only compare if the latest version is equal to the local one, and if not, install the latest one.

This works of for now, but what if your local version is newer than the latest stable release. (It will overwrite it with the latest version, which in this case may be older than yours)

This should be solved by parsing the versions and comparing them that way, to see which is newer.

rdig commented 8 years ago

This also segways into #12