Skip to content

Commit 3029042

Browse files
committed
Always build against v2.x
1 parent 97a5121 commit 3029042

File tree

2 files changed

+40
-5
lines changed

2 files changed

+40
-5
lines changed

.evergreen/config/generated/build/build-extension.yml

Lines changed: 32 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/templates/build/build-extension.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
vars:
66
PHP_VERSION: "%phpVersion%"
77
- func: "compile extension"
8+
# TODO: Remove vars to switch to latest stable version when 2.1.0 is releeased
9+
vars:
10+
EXTENSION_BRANCH: "v2.x"
811
- func: "upload extension"
912
- name: "build-php-%phpVersion%-lowest"
1013
tags: ["build", "php%phpVersion%", "lowest", "pr", "tag"]
@@ -14,7 +17,9 @@
1417
PHP_VERSION: "%phpVersion%"
1518
- func: "compile extension"
1619
vars:
17-
EXTENSION_VERSION: "2.0.0"
20+
# TODO: Switch to 2.1.0 when it is released
21+
# EXTENSION_VERSION: "2.0.0"
22+
EXTENSION_BRANCH: "v2.x"
1823
- func: "upload extension"
1924
- name: "build-php-%phpVersion%-next-stable"
2025
tags: ["build", "php%phpVersion%", "next-stable", "pr", "tag"]
@@ -24,6 +29,8 @@
2429
PHP_VERSION: "%phpVersion%"
2530
- func: "compile extension"
2631
vars:
32+
# TODO: Switch to v2.1 when 2.1.0 is released
33+
# EXTENSION_VERSION: "v2.1"
2734
EXTENSION_BRANCH: "v2.x"
2835
- func: "upload extension"
2936
- name: "build-php-%phpVersion%-next-minor"

0 commit comments

Comments
 (0)