Skip to content

Extract WP_CLI_VERSION to a separate file#1539

Merged
danielbachhuber merged 4 commits intowp-cli:masterfrom
nyordanov:extract-version-info
Dec 4, 2014
Merged

Extract WP_CLI_VERSION to a separate file#1539
danielbachhuber merged 4 commits intowp-cli:masterfrom
nyordanov:extract-version-info

Conversation

@nyordanov
Copy link
Contributor

This is a prerequisite for writing Behat tests for #1535

  • Implements Move WP-CLI version to separate file #680
  • It is now possible to set the version at build time (required for Implement wp cli update #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]

- Implements wp-cli#680
- It is now possibile to set the version at build time (required for wp-cli#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 preverved
- utils/update-phar takes an option argument: `update-phar [same|patch|minor|major|x.y.z]`
@nyordanov nyordanov mentioned this pull request Dec 3, 2014
5 tasks
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using a new library, can we use WP_CLI\Configurator?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed in nyordanov@696dc16

@danielbachhuber danielbachhuber added this to the next milestone Dec 4, 2014
@danielbachhuber
Copy link
Member

👍

danielbachhuber added a commit that referenced this pull request Dec 4, 2014
Extract WP_CLI_VERSION to a separate file
@danielbachhuber danielbachhuber merged commit ca5bc34 into wp-cli:master Dec 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants