Skip to content

Commit 8b1e4a5

Browse files
feat(*): Add ddev_version_constraint check
1 parent 105e7db commit 8b1e4a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

install.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ pre_install_actions:
44
- |
55
#ddev-description:Create config.mongo.yaml with webimage_extra_packages in it
66
printf '#ddev-generated\nwebimage_extra_packages: ["php${DDEV_PHP_VERSION}-mongodb"]\n' >.ddev/config.mongo.yaml
7-
# Ensure we're on DDEV 1.23+. It's required for the `redis-commander` command (launch by port).
7+
# Ensure we're on DDEV 1.23+. It's required for the `mongo-express` command (launch by port).
8+
# ddev_version_constraint (see below) is only available in DDEV 1.23.4+, so we keep this check for now.
9+
# Should be removed when DDEV 1.24 is released.
810
- |
911
#ddev-nodisplay
1012
#ddev-description:Checking DDEV version
1113
(ddev debug capabilities | grep corepack >/dev/null) || (echo "Please upgrade DDEV to v1.23+ to enable launching." && false)
1214
15+
ddev_version_constraint: ">= v1.23.0"
16+
1317
post_install_actions:
1418
- |
1519
#ddev-description:If router disabled, directly expose port

0 commit comments

Comments
 (0)