Skip to content

Commit 6b4556a

Browse files
committed
fix master build
1 parent 271ddf6 commit 6b4556a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bin/compile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ set -o xtrace
6060

6161
export PATH="$HOME/.phpenv/bin:$HOME/.php-build/bin:$PATH"
6262

63-
php-build -i development "${VERSION}" "${INSTALL_DEST}/${VERSION}"
63+
buildDefinition=${VERSION}
64+
if [[ $VERSION == nightly* || $VERSION == master* ]]; then
65+
buildDefinition=8.0snapshot
66+
fi
67+
68+
php-build -i development "${buildDefinition}" "${INSTALL_DEST}/${VERSION}"
6469

6570
pushd "${INSTALL_DEST}/${VERSION}"
6671

0 commit comments

Comments
 (0)