Skip to content

Commit 47ac2e2

Browse files
committed
Add support for relay-nightly in extensions.ts
1 parent 3633898 commit 47ac2e2

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/extensions.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ export async function addExtensionDarwin(
3838
// match 5.3ioncube...8.4ioncube
3939
// match 7.0phalcon3...7.3phalcon3, 7.2phalcon4...7.4phalcon4, and 7.4phalcon5...8.4phalcon5
4040
// match 7.0zephir_parser...8.4zephir_parser
41-
case /^(7\.4|8\.[0-5])relay(-v?\d+\.\d+\.\d+)?$/.test(version_extension):
41+
case /^(7\.4|8\.[0-5])relay(-v?\d+\.\d+\.\d+|-nightly)?$/.test(
42+
version_extension
43+
):
4244
case /^(5\.[3-6]|7\.[0-4]|8\.[0-4])blackfire(-\d+\.\d+\.\d+)?$/.test(
4345
version_extension
4446
):
@@ -271,7 +273,9 @@ export async function addExtensionLinux(
271273
// match 5.3ioncube...8.4ioncube
272274
// match 7.0phalcon3...7.3phalcon3, 7.2phalcon4...7.4phalcon4, 7.4phalcon5...8.4phalcon5
273275
// match 7.0zephir_parser...8.4zephir_parser
274-
case /^(7\.4|8\.[0-5])relay(-v?\d+\.\d+\.\d+)?$/.test(version_extension):
276+
case /^(7\.4|8\.[0-5])relay(-v?\d+\.\d+\.\d+|-nightly)?$/.test(
277+
version_extension
278+
):
275279
case /^(5\.[3-6]|7\.[0-4]|8\.[0-4])blackfire(-\d+\.\d+\.\d+)?$/.test(
276280
version_extension
277281
):

0 commit comments

Comments
 (0)