Skip to content

Move WP-CLI version to separate file #680

@scribu

Description

@scribu

Currently, we define the version in a WP_CLI_VERSION constant. This is hard to work with when deploying.

A better solution would be to have a simple VERSION text file, which is read when wp --info or wp --version is called.

This would make it easy to append the revision when building the Phar archive. Related: #658

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions