Skip to content

Commit

Permalink
Support RC and Prevent unstable releases
Browse files Browse the repository at this point in the history
  • Loading branch information
puntope committed Apr 13, 2024
1 parent 9cc0c19 commit a9ddff7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function parsePluginVersions( releases = {} ) {
version !== 'trunk' &&
version !== 'other' &&
! version.includes( 'beta' ) &&
semverCompare( latest, version ) <= 0
( includeRC || semverCompare( latest, version ) <= 0)

Check failure on line 63 in packages/github-actions/actions/get-plugin-releases/src/get-plugin-releases.js

View workflow job for this annotation

GitHub Actions / Lint JavaScript

[prettier/prettier] Insert `·`
)
.sort( semverCompare );

Expand Down

0 comments on commit a9ddff7

Please sign in to comment.