From 9f1b8b0ca9e5ce1e3be1ddd87f26ef3108116298 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 4f0a6fcbb..3e770b599 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -165,7 +165,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. @@ -279,7 +279,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