Compare commits

...

2 Commits

Author SHA1 Message Date
Dmitry Shibanov
0e4e5019c1 add minor fix (#81) 2023-08-09 12:48:08 +02:00
github-actions[bot]
a42239e7a9 Update versions-manifest (#80) 2023-08-03 09:54:41 +02:00
2 changed files with 51 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ class GoBuilder {
$arch = ($this.Architecture -eq "x64") ? "amd64" : $this.Architecture
$goPlatform = ($this.Platform -Match "win32") ? "windows" : $this.Platform
$ArchiveType = ($this.Platform -Match "win32") ? "zip" : "tar.gz"
If ($this.Version.Build -eq "0") {
If ($this.Version.Build -eq "0" -and $this.Version -lt "1.21.0") {
$goVersion = "go$($this.Version.ToString(2))"
} else {
$goVersion = "go$($this.Version.ToString(3))"

View File

@@ -1,4 +1,29 @@
[
{
"version": "1.20.7",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.20.7-5739704876",
"files": [
{
"filename": "go-1.20.7-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.7-5739704876/go-1.20.7-darwin-x64.tar.gz"
},
{
"filename": "go-1.20.7-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.7-5739704876/go-1.20.7-linux-x64.tar.gz"
},
{
"filename": "go-1.20.7-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.7-5739704876/go-1.20.7-win32-x64.zip"
}
]
},
{
"version": "1.20.6",
"stable": true,
@@ -180,6 +205,31 @@
}
]
},
{
"version": "1.19.12",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.19.12-5739706861",
"files": [
{
"filename": "go-1.19.12-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/go-versions/releases/download/1.19.12-5739706861/go-1.19.12-darwin-x64.tar.gz"
},
{
"filename": "go-1.19.12-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/go-versions/releases/download/1.19.12-5739706861/go-1.19.12-linux-x64.tar.gz"
},
{
"filename": "go-1.19.12-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/go-versions/releases/download/1.19.12-5739706861/go-1.19.12-win32-x64.zip"
}
]
},
{
"version": "1.19.11",
"stable": true,