Remove incorrect "reverse" on previous tags

This commit is contained in:
Paul Hatcherian 2023-04-07 17:59:35 -10:00
parent f9d3daa396
commit 9a5d07b45d
5 changed files with 55 additions and 5 deletions

View file

@ -37,7 +37,6 @@ export class DefaultLastReleaseResolver implements LastReleaseResolver {
tag = await cmd(command);
tag = tag
.split('\n')
.reverse()
.find(t => tagFormatter.IsValid(t) && t !== currentTag) || '';
} else {