Skip to content

Commit

Permalink
account for -main builds in isDevBuild (#5163)
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis-toboggan-md authored Aug 19, 2024
1 parent 30e2cec commit af274e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shared/addon/utils/parse-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit af274e0

Please sign in to comment.