Skip to content

Commit 05d8edb

Browse files
committed
Fix Phalcon versions
1 parent a671401 commit 05d8edb

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

Dockerfiles/mods/Dockerfile-7.2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,12 +534,12 @@ RUN set -eux \
534534

535535
# -------------------- Installing PHP Extension: phalcon --------------------
536536
RUN set -eux \
537-
# Installation: Generic
537+
# Installation: Version specific
538538
# Type: GIT extension
539539
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
540540
&& cd /tmp/phalcon \
541541
# Custom: Branch
542-
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | grep -E '^v[.0-9]+$' | tail -1) \
542+
&& git checkout v4.1.1 \
543543
# Custom: Install command
544544
&& cd build && ./install \
545545
# Enabling

Dockerfiles/mods/Dockerfile-7.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,12 +524,12 @@ RUN set -eux \
524524

525525
# -------------------- Installing PHP Extension: phalcon --------------------
526526
RUN set -eux \
527-
# Installation: Generic
527+
# Installation: Version specific
528528
# Type: GIT extension
529529
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
530530
&& cd /tmp/phalcon \
531531
# Custom: Branch
532-
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | grep -E '^v[.0-9]+$' | tail -1) \
532+
&& git checkout v4.1.2 \
533533
# Custom: Install command
534534
&& cd build && ./install \
535535
# Enabling

build/ansible/group_vars/all/mods.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,16 @@ extensions_available:
946946
git_url: https://github.com/phalcon/cphalcon
947947
git_ref: v3.4.4
948948
command: cd build && ./install
949+
7.2:
950+
type: git
951+
git_url: https://github.com/phalcon/cphalcon
952+
git_ref: v4.1.1
953+
command: cd build && ./install
954+
7.3:
955+
type: git
956+
git_url: https://github.com/phalcon/cphalcon
957+
git_ref: v4.1.2
958+
command: cd build && ./install
949959
all:
950960
type: git
951961
git_url: https://github.com/phalcon/cphalcon

0 commit comments

Comments
 (0)