Merge branch 'release/0.1.1'

This commit is contained in:
Steve Grunwell 2017-03-13 18:17:22 -04:00
commit fca79a7c8d
4 changed files with 10 additions and 5 deletions

View file

@ -25,8 +25,6 @@ matrix:
env: WP_VERSION=latest
- php: 5.6
env: WP_VERSION=trunk
- php: 5.3
env: WP_VERSION=latest

before_script:
- phpenv config-rm xdebug.ini

View file

@ -5,10 +5,17 @@ All notable changes to this project will be documented in this file, according t
This project adheres to [Semantic Versioning](http://semver.org/).


## [0.1.1] - 2017-03-13

* Documentation updates, specifically around Cron usage and installation.
* Fixed bug where the `--report-current` flag wasn't being checked.


## [0.1.0] - 2017-02-24

Initial public release.


[Unreleased]: https://github.com/growella/update-check/compare/master...develop
[0.1.1]: https://github.com/growella/update-check/releases/tag/v0.1.1
[0.1.0]: https://github.com/growella/update-check/releases/tag/v0.1.0

View file

@ -46,7 +46,7 @@ WP-CLI: Update Check is designed to work well with system cron jobs:

```bash
# Check for available updates and send them to the engineering team.
0 8 * * * wp update-check run --email=engineering@example.com --path=/path/to/my/site --quiet
0 8 * * * /path/to/wp update-check run --email=engineering@example.com --path=/path/to/my/site --quiet
```


@ -54,7 +54,7 @@ WP-CLI: Update Check is designed to work well with system cron jobs:

Installing this package requires WP-CLI v1.1.0 or greater. Update to the latest stable release with `wp cli update`.

Once you've done so, you can install this package with `wp package install growella/update-check`.
Once you've done so, you can install this package with `wp package install git@github.com:growella/update-check.git`.


## Contributing

View file

@ -126,7 +126,7 @@ class UpdateCheck extends \WP_CLI_Command {
if ( isset( $assoc_args['email'] ) ) {

// No need to send an email.
if ( ! $send_email ) {
if ( ! $send_email && ! isset( $assoc_args['report-current'] ) ) {
return WP_CLI::debug( __( 'Everything up to date, no email has been sent.', 'update-check' ) );
}