From 0b2ce6bf390a16c26d9b2b4c14c597cb7c0028b9 Mon Sep 17 00:00:00 2001 From: Jason Walton Date: Sun, 10 Apr 2022 13:57:39 -0400 Subject: [PATCH] fix(projects): Fix version parsing for go executable. --- internal/kitsch/projects/defaultProjectTypes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/kitsch/projects/defaultProjectTypes.go b/internal/kitsch/projects/defaultProjectTypes.go index 4b54217..36e711a 100644 --- a/internal/kitsch/projects/defaultProjectTypes.go +++ b/internal/kitsch/projects/defaultProjectTypes.go @@ -36,7 +36,7 @@ var DefaultProjectTypes = []ProjectType{ getters.CustomGetter{ Type: getters.TypeCustom, From: "go version", - Regex: `go version go(\d+\.\d+\.\d+)`, + Regex: `go version go([\d+.]+)`, Cache: getters.CacheSettings{Enabled: true}, }, },