File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,12 @@ pre_install_actions:
1717
1818 # - "docker volume rm ddev-${DDEV_PROJECT}_solr 2>/dev/null || true"
1919
20- # You can also check for client DDEV version with ddev_version_constraint (see below).
20+ # Use this example to perform different actions based on the DDEV version.
21+ # If you only need a version constraint, use ddev_version_constraint instead (see below).
2122 # - |
22- # #ddev-description:Checking DDEV version
23- # if ! ( ddev debug capabilities 2>/dev/null | grep corepack >/dev/null 2>&1 ) ; then
24- # echo "This add-on requires DDEV v1.23+ or higher, please upgrade." && exit 2
23+ # #ddev-description:Show a message for v1.24.7+
24+ # if ${DDEV_EXECUTABLE} debug match-constraint ">= 1.24.7" 2 >/dev/null ; then
25+ # echo "Using DDEV v1.24.7+, running extra actions..."
2526 # fi
2627
2728 # - 'echo "what is your platform.sh token" && read x'
You can’t perform that action at this time.
0 commit comments