mirror of
https://code.forgejo.org/actions/go-versions
synced 2025-06-08 19:48:21 +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 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"regex": "go-\\d+\\.\\d+\\.\\d+-(\\w+)-(x\\d+)",
|
"regex": "go-\\d+\\.\\d+(?:\\.\\d+)-(\\w+)-(x\\d+)",
|
||||||
"groups": {
|
"groups": {
|
||||||
"arch": 2,
|
"arch": 2,
|
||||||
"platform": 1
|
"platform": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue