Skip to content

Commit 0c4c561

Browse files
committed
better describe fallback to 0.0.0
1 parent cb4bdb6 commit 0c4c561

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build-packages.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ elif [ -d ".git/" ]; then
5252
fi
5353

5454
if [[ ! "${FRANKENPHP_VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
55-
echo "Error: FRANKENPHP_VERSION must be set to X.Y.Z (e.g. 1.5.1), got '${FRANKENPHP_VERSION}'"
55+
echo "Warning: FRANKENPHP_VERSION must be set to X.Y.Z (e.g. 1.5.1), got '${FRANKENPHP_VERSION}'"
56+
echo "Falling back to non-release version 0.0.0"
5657
FRANKENPHP_VERSION=0.0.0
5758
fi
5859

0 commit comments

Comments
 (0)