Download the specified WP version in DDEV

This parameter was not passed to wp core download
This commit is contained in:
Alex P 2022-05-16 16:49:09 +03:00
parent c3887bec7a
commit a4bf56021d

View file

@ -1,6 +1,6 @@
#!/bin/bash
if ! wp core download; then
if ! wp core download --version="${WP_VERSION:-latest}"; then
echo 'WordPress is already installed.'
exit
fi