Skip to content

Commit

Permalink
strip the period from the php version for cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Oct 25, 2023
1 parent 8ca91da commit 61008f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bin/cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -ex

PHP_VERSION=$(echo "$PHP_VERSION" | tr -d '.')
# Nuke any lingering multidev environments from orbit.
for ENV in $(terminus multidev:list --field=Name --format=list "$TERMINUS_SITE"); do
if [[ "$ENV" =~ ^ci-.*-"$PHP_VERSION" || "$ENV" == localtests || "$ENV" =~ ^fs-.*-"$PHP_VERSION" ]]; then
Expand Down

0 comments on commit 61008f1

Please sign in to comment.