- fix new tag filter not called

- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/571
This commit is contained in:
Mike Penz
2021-11-06 10:13:40 +01:00
parent 3ed4fe54df
commit 0a1db911b6
+2 -4
View File
@@ -114,10 +114,8 @@ export class Tags {
maxTagsToFetch: number,
tagResolver: TagResolver
): Promise<TagResult> {
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