Bump version to 1.7.4

This commit is contained in:
Shivam Mathur
2020-01-22 01:00:13 +05:30
parent 63c4aea452
commit 47335179aa
7 changed files with 46 additions and 47 deletions

View File

@ -128,6 +128,7 @@ export async function addExtensionLinux(
version +
pipe;
break;
// match 7.0phalcon3...7.3phalcon3 or 7.2phalcon4...7.4phalcon4
case /^7\.[0-3]phalcon3$|^7\.[2-4]phalcon4$/.test(version_extension):
script +=
'\nsh ' +

View File

@ -11,6 +11,7 @@ Param (
$version
)
# Function to install phalcon
Function Install-Phalcon() {
if ($extension_version -eq '4') {
Install-Phpextension phalcon -MinimumStability stable -Path $php_dir

View File

@ -1,3 +1,4 @@
# Function to log result of a operation
add_log() {
mark=$1
subject=$2
@ -9,6 +10,7 @@ add_log() {
fi
}
# Function to update php ppa
update_ppa() {
if [ "$ppa_updated" = "false" ]; then
find /etc/apt/sources.list.d -type f -name 'ondrej-ubuntu-php*.list' -exec sudo DEBIAN_FRONTEND=noninteractive apt-get update -o Dir::Etc::sourcelist="{}" ';' >/dev/null 2>&1
@ -16,6 +18,7 @@ update_ppa() {
fi
}
# Function to install phalcon
install_phalcon() {
extension=$1
version=$2
@ -24,6 +27,7 @@ install_phalcon() {
add_log "$cross" "$extension" "Could not install $extension on PHP $semver"
}
# Function to remove an extensions
remove_extension() {
extension=$1
sudo sed -i "/$extension/d" "$ini_file"