From d244fd4e7013a099711d5dc286cd7938b4ac7a78 Mon Sep 17 00:00:00 2001 From: francisco souza Date: Tue, 16 Feb 2021 23:21:13 -0500 Subject: [PATCH] config: update version regex to support Go's initial minor releases Go doesn't _really_ follow semver here: the initial release of a new minor series does not end with .0, which means there's no Go 1.16.0, it's actually Go 1.16. This is me trying to fix actions/setup-go#105, not sure if this is correct. --- config/go-manifest-config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/go-manifest-config.json b/config/go-manifest-config.json index d766d1b..56e960b 100644 --- a/config/go-manifest-config.json +++ b/config/go-manifest-config.json @@ -1,7 +1,7 @@ { - "regex": "go-\\d+\\.\\d+\\.\\d+-(\\w+)-(x\\d+)", + "regex": "go-\\d+\\.\\d+(?:\\.\\d+)-(\\w+)-(x\\d+)", "groups": { "arch": 2, "platform": 1 } -} \ No newline at end of file +}