-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
command:coreRelated to 'core' commandRelated to 'core' commandcommand:core-updateRelated to 'core update' commandRelated to 'core update' commandstate:unconfirmed
Description
I have wp-cli in cron jobs to check for updates. What's missing, is a non-0 return code when an update is available. I do a bunch of string matching now, but of course, that's not very robust.
Perhaps extra command-line flags would be the best, as not to break existing scripts.
And, there could be different return codes for major or minor upgrades, to script automatic minor updates, but notify on major, for instance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
command:coreRelated to 'core' commandRelated to 'core' commandcommand:core-updateRelated to 'core update' commandRelated to 'core update' commandstate:unconfirmed