From 0a1db911b66f7edcb131c84ce1c3cc00eebd36c9 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Sat, 6 Nov 2021 08:15:23 +0100 Subject: [PATCH] - fix new tag filter not called - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/571 --- src/tags.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tags.ts b/src/tags.ts index 6616a91..7d47b96 100755 --- a/src/tags.ts +++ b/src/tags.ts @@ -114,10 +114,8 @@ export class Tags { maxTagsToFetch: number, tagResolver: TagResolver ): Promise { - const tags = sortTags( - await this.getTags(owner, repo, maxTagsToFetch), - tagResolver - ) + const filteredTags = filterTags(await this.getTags(owner, repo, maxTagsToFetch), tagResolver) + const tags = sortTags(filteredTags, tagResolver) let resultToTag: TagInfo | null let resultFromTag: TagInfo | null