Open
Description
On a repo with many (1,955) releases, we observed the getting latest release
step taking almost 4 minutes:
Wed, 29 May 2024 19:05:19 GMT [go-semantic-release]: getting latest release...
Wed, 29 May 2024 19:09:08 GMT [go-semantic-release]: found version: 3.0.2
I believe this happens because the calling code in semantic-release calls GetReleases with no matchRegex and ends up fetching every release that has ever been created.
I'm not sure why this is necessary, but if it could retrieve less releases then this step could be much faster. For example, retrieving the last 30 releases only takes about 2 seconds...