mirror of
https://github.com/actions/go-versions.git
synced 2024-06-01 21:42:26 +02:00
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.
This commit is contained in:
parent
aa3776fc05
commit
d244fd4e70
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue