Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version parameter in wp-cli core download #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Perfect-Chaos
Copy link

Added parameter version to wp-cli core download to download a specific version of Wordpress

Added parameter `version` to `wp-cli core download` to download a specific version of Wordpress
Added parameter `version` to `wp-cli core download` to download a specific version of Wordpress
@@ -15,6 +15,7 @@
wp-cli core download
--allow-root --no-color --path='{{ item.item.path }}'
--locale='{{ item.item.locale | default('en_US') }}'
--version='{{ item.item.version| default('6.2') }}'
Copy link
Member

Choose a reason for hiding this comment

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

Maybe only add this option if item.item.version is defined?

@@ -25,6 +25,7 @@ This role assumes a working virtual host (that handles `wordpress_url`).
* `wordpress_installs.{n}.dbprefix`: [default: `wp_`, optional]: Prefix for database tables
* `wordpress_installs.{n}.path`: [required]: Install directory for wordpress
* `wordpress_installs.{n}.locale`: [default: `en_US`, optional]: Language of the downloaded Wordpress
* `wordpress_installs.{n}.version`: [default: `6.2`, optional]: Version of the downloaded Wordpress
Copy link
Member

Choose a reason for hiding this comment

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

Better make this optional, because this will be out-of-date too often

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