mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Use commit hash in url for nightly builds in darwin.sh
This commit is contained in:
parent
da9dadf09c
commit
8eebeae48a
@ -173,7 +173,7 @@ add_php() {
|
|||||||
# Function to get extra version.
|
# Function to get extra version.
|
||||||
php_extra_version() {
|
php_extra_version() {
|
||||||
if [[ ${version:?} =~ ${nightly_versions:?} ]]; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user