Skip to content

Commit eba1610

Browse files
authored
ci: use includePrerelease flag for version checks (#2692)
1 parent 603e24e commit eba1610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils/next-version-helpers.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function nextVersionSatisfies(condition) {
2121
const isSemverVersion = valid(version)
2222
const checkVersion = isSemverVersion ? version : FUTURE_NEXT_PATCH_VERSION
2323

24-
return satisfies(checkVersion, condition) || version === condition
24+
return satisfies(checkVersion, condition, { includePrerelease: true }) || version === condition
2525
}
2626

2727
/**

0 commit comments

Comments
 (0)