From 1b9e66eef0905cd969b500ea249c26a413bdfd18 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 12 Apr 2021 03:26:53 +0200 Subject: [PATCH] fix: use a fixed PHP binary for release get version --- scripts/make-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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