Skip to content

Commit

Permalink
ci: use includePrerelease flag for version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Oct 22, 2024
1 parent 603e24e commit a4406d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/next-version-helpers.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function nextVersionSatisfies(condition) {
const isSemverVersion = valid(version)
const checkVersion = isSemverVersion ? version : FUTURE_NEXT_PATCH_VERSION

return satisfies(checkVersion, condition) || version === condition
return satisfies(checkVersion, condition, { includePrerelease: true }) || version === condition
}

/**
Expand Down

0 comments on commit a4406d0

Please sign in to comment.