Skip to content

Commit

Permalink
Use commit hash in url for nightly builds in darwin.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Sep 5, 2021
1 parent da9dadf commit 8eebeae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ add_php() {
# Function to get extra version.
php_extra_version() {
if [[ ${version:?} =~ ${nightly_versions:?} ]]; then
echo " ($(brew cat "$php_formula" | grep -Eo "commit=[0-9a-zA-Z]+" | cut -d'=' -f 2))"
echo " ($(brew cat "$php_formula" | grep -Eo "archive/[0-9a-zA-Z]+" | cut -d'/' -f 2))"
fi
}

Expand Down

0 comments on commit 8eebeae

Please sign in to comment.