From 6db6ddbab2756623c4970439965d81ea2da37c47 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 13 Mar 2021 22:30:13 +0530 Subject: [PATCH] Fix version log for nightly PHP on ubuntu --- src/scripts/linux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 2f2f48ae..c96cbcd2 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -162,7 +162,7 @@ add_devtools() { # Function to setup the nightly build from shivammathur/php-builder setup_nightly() { run_script "php-builder" "$runner" "$version" - extra_version="($(cat "/etc/php/$version/COMMIT"))" + extra_version="-dev ($(cat "/etc/php/$version/COMMIT"))" } # Function to setup PHP 5.3, PHP 5.4 and PHP 5.5. @@ -275,7 +275,7 @@ setup_php() { sudo rm -rf /usr/local/bin/phpunit >/dev/null 2>&1 sudo chmod 777 "${ini_file[@]}" "$pecl_file" "${tool_path_dir:?}" sudo cp "$dist"/../src/configs/*.json "$RUNNER_TOOL_CACHE/" - add_log "${tick:?}" "PHP" "$status PHP $semver $extra_version" + add_log "${tick:?}" "PHP" "$status PHP $semver$extra_version" } # Variables