Skip to content

Commit

Permalink
Fix version log for nightly PHP on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Mar 22, 2021
1 parent 3b968f8 commit 9f1b8b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9f1b8b0

Please sign in to comment.