From 441309b8e2038374f3a470afbb15583a69662431 Mon Sep 17 00:00:00 2001 From: Pete Emerson Date: Mon, 26 Oct 2020 13:35:24 -0700 Subject: [PATCH] Skip non-SemVer tags --- github.go | 1 + 1 file changed, 1 insertion(+) diff --git a/github.go b/github.go index 536bf54..0669639 100644 --- a/github.go +++ b/github.go @@ -127,6 +127,7 @@ func FetchTags(githubRepoUrl string, githubToken string, instance GitHubInstance } for _, tag := range tags { + // Skip tags that are not semantically versioned so that they don't cause errors. (issue #75) if _, err := version.NewVersion(tag.Name); err == nil { tagsString = append(tagsString, tag.Name) }