wp-cli/wp-cli — pull request #1539 by nyordanov (2014-12-03 12:46:45+00:00)
Title: Extract WP_CLI_VERSION to a separate file

*This is a prerequisite for writing Behat tests for #1535*

- Implements #680
- It is now possible to set the version at build time (required for #1535): `--version=x.y.z`
- Keywords for incrementing the version number by one: `--version=[patch|minor|major]`
- When no arguments are passed, the old behaviour is preserved
- `utils/update-phar` takes an optional argument: `update-phar [same|patch|minor|major|x.y.z]`