Improve phalcon5 support

This commit is contained in:
Shivam Mathur
2022-10-24 03:35:44 +05:30
parent 6652a09da6
commit 7622357ff1
2 changed files with 4 additions and 6 deletions

View File

@ -1,8 +1,7 @@
# Helper function to get phalcon version
get_phalcon_version() {
if [ "$extension" = "phalcon5" ]; then
semver="$(get_pecl_version phalcon stable 5)"
([ -n "$semver" ] && echo "$semver") || get_pecl_version phalcon rc 5
get_pecl_version phalcon stable 5
elif [ "$extension" = "phalcon4" ]; then
echo '4.1.3'
elif [ "$extension" = "phalcon3" ]; then