Skip to content

Commit

Permalink
style: Improovment check versions for >= 2.3000.x
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Jul 13, 2024
1 parent 4119ef2 commit 7300a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
let versions = allVersions.filter(
(v) => semver.satisfies(v, supportedVersion, {includePrerelease: true})
);
versions = versions.map(v => v.split(/^(\d+\.\d+\.\d{5})/).slice(0, -1).join('.') + '.x');
versions = versions.map(v => v.split(/^(\d+\.\d+\.\d{5})/).slice(0, -1).join('') + '.x');
versions = versions.filter((v,i,a)=>a.indexOf(v)==i);
return versions.reverse();
Expand Down

0 comments on commit 7300a38

Please sign in to comment.