From 49b060444f7059461562df928b9b42c4a01bf747 Mon Sep 17 00:00:00 2001 From: haynesr Date: Mon, 24 Feb 2025 13:34:42 +0000 Subject: [PATCH] fix: Excluding erroneous terraform version --- internal/checker/updates.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/checker/updates.go b/internal/checker/updates.go index 17af314..a289333 100644 --- a/internal/checker/updates.go +++ b/internal/checker/updates.go @@ -218,12 +218,12 @@ func (c *Client) Versions(s source.Source) ([]*goversion.Version, error) { } func filterTerraformTags(s source.Source, versions []*goversion.Version) []*goversion.Version { - // This is dumb but hashicorp have left two random tags in their git repo for v11 and 26258 lol!! + // This is dumb but hashicorp have left three random tags in their git repo for v11, 26258 and 20240919 lol!! // Here we simply remove these from the results. vers := []*goversion.Version{} if s.Git.Remote == "https://github.com/hashicorp/terraform.git" { for _, v := range versions { - if v.String() != "11.0.0" && v.String() != "26258.0.0" { + if v.String() != "11.0.0" && v.String() != "26258.0.0" && v.String() != "20240919.0.0" { vers = append(vers, v) } }