diff --git a/scripts/make-release.sh b/scripts/make-release.sh index 8e1d8757..7e9f99c9 100755 --- a/scripts/make-release.sh +++ b/scripts/make-release.sh @@ -120,7 +120,7 @@ if [ ! -f ./vendor/autoload.php ]; then echo "Done." fi -get_version ./bin/doctum.php +get_version "${PHP_BIN:-php} ./bin/doctum.php" echo "${VERSION}" > ./build/VERSION echo "${VERSION_RANGE}" > ./build/VERSION_RANGE echo "${VERSION_MAJOR}" > ./build/VERSION_MAJOR