Skip to content

Commit a952fdd

Browse files
committed
fixup! Included Valkey in display SPI version step
1 parent 2f86fc7 commit a952fdd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bin/4.6.x-dev/prepare_project_edition.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,12 @@ else
198198
docker exec ibexa-db-1 sh -c "mysql -V"
199199
fi
200200

201-
if [[ "$COMPOSE_FILE" == *"redis"*.yml ]] || [[ "$COMPOSE_FILE" == *"valkey"*.yml ]]; then
202-
echo '> Display SPI (Redis/Valkey) version for debugging'
201+
if [[ "$COMPOSE_FILE" == *"redis"*.yml ]]; then
202+
echo '> Display SPI (Redis) version for debugging'
203203
docker exec ibexa-redis-1 sh -c "redis-cli --version"
204+
elif [[ "$COMPOSE_FILE" == *"valkey"*.yml ]] then
205+
echo '> Display SPI (Valkey) version for debugging'
206+
docker exec valkey sh -c "valkey-cli --version"
204207
fi
205208

206209
echo '> Generate GraphQL schema'

0 commit comments

Comments
 (0)