Skip to content

Commit 7096b2f

Browse files
fix: maestro version
1 parent 2250a65 commit 7096b2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.maestro/scripts/run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if ! command -v maestro >/dev/null 2>&1; then
2626
exit 1
2727
fi
2828

29-
MAESTRO_VERSION=$(maestro --version)
29+
MAESTRO_VERSION=$(maestro --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
3030
# Compare versions by sorting them; if the minimum sorts after the actual, it's too old.
3131
if [ "$(printf '%s\n' "$MIN_MAESTRO_VERSION" "$MAESTRO_VERSION" | sort -V | head -n1)" != "$MIN_MAESTRO_VERSION" ]; then
3232
echo "Error: maestro $MAESTRO_VERSION is too old, minimum required is $MIN_MAESTRO_VERSION" >&2

0 commit comments

Comments
 (0)