From af274e06f4152c3b581348cb485169171cdf514a Mon Sep 17 00:00:00 2001 From: Nancy <42977925+mantis-toboggan-md@users.noreply.github.com> Date: Mon, 19 Aug 2024 12:30:40 -0700 Subject: [PATCH] account for -main builds in isDevBuild (#5163) --- lib/shared/addon/utils/parse-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shared/addon/utils/parse-version.js b/lib/shared/addon/utils/parse-version.js index 061ffd6f2a..730dfa6731 100644 --- a/lib/shared/addon/utils/parse-version.js +++ b/lib/shared/addon/utils/parse-version.js @@ -143,7 +143,7 @@ export function coerceVersion(version) { } export function isDevBuild(version) { - if ( ['dev', 'master', 'head'].includes(version) || version.endsWith('-head') || version.match(/-rc\d+$/) || version.match(/-alpha\d+$/) ) { + if ( ['dev', 'master', 'head'].includes(version) || version.endsWith('-head') || version.match(/-rc\d+$/) || version.match(/-alpha\d+$/) || version.endsWith('-main') ) { return true; }