Skip to content

Commit 3980995

Browse files
committed
Update tag aliases, remove more special cases for EOL versions
1 parent 2106a27 commit 3980995

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

generate-stackbrew-library.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
set -Eeuo pipefail
33

44
declare -A aliases=(
5-
[11.1]='11 latest'
6-
[10.4]='10'
5+
[11.2]='11 latest'
6+
[10.5]='10'
77
)
88

99
defaultDebianSuite='bookworm'
@@ -15,9 +15,7 @@ defaultPhpVersion='php8.4'
1515
declare -A defaultPhpVersions=(
1616
# releases older than 11 will conservatively stay on 8.2 by default
1717
[11.1]='php8.3'
18-
[11.0]='php8.3'
1918
[10.4]='php8.3'
20-
[10.3]='php8.2'
2119
# https://www.drupal.org/docs/system-requirements/php-requirements
2220
)
2321

versions.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,10 @@ for version in "${versions[@]}"; do
112112
# https://www.drupal.org/docs/system-requirements/php-requirements
113113
[
114114
# Drupal 11.1+ and 10.4+ support PHP 8.4
115-
if env.version | IN("10.3", "11.0") then empty else
116-
"8.4"
117-
end,
115+
"8.4",
118116
# https://www.drupal.org/project/drupal/releases/10.2.0-rc1#php-deps
119117
# Drupal supports PHP 8.3 and recommends at least PHP 8.2.
120118
"8.3",
121-
# https://www.drupal.org/node/3413288 ("Drupal 11 will require PHP 8.3")
122-
if env.version | IN("10.3") then
123-
"8.2"
124-
else empty end,
125119
# https://www.drupal.org/docs/system-requirements/php-requirements
126120
empty
127121
]

0 commit comments

Comments
 (0)