Improve support for couchbase, pdo_firdbird, pdo_oci and phalcon3

Downgrade husky to 4.x
This commit is contained in:
Shivam Mathur
2021-02-23 13:07:17 +05:30
parent 9601a19811
commit 399ab79d14
11 changed files with 488 additions and 63 deletions
+9
View File
@@ -262,6 +262,15 @@ php_semver() {
php"$version" -v | grep -Eo -m 1 "[0-9]+\.[0-9]+\.[0-9]+" | head -n 1
}
# Function to get the tag for a php version.
php_src_tag() {
php_src_tag='master'
if ! [[ ${version:?} =~ $nightly_versions ]]; then
php_src_tag="php-$semver"
fi
echo "$php_src_tag"
}
# Function to install extension from a GitHub repository
add_extension_from_github() {
extension=$1