Compare commits

...

3 Commits

Author SHA1 Message Date
github-actions[bot]
05b161f8b7 Update versions-manifest (#82)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-08-09 13:03:21 +02:00
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 76 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ class GoBuilder {
$arch = ($this.Architecture -eq "x64") ? "amd64" : $this.Architecture $arch = ($this.Architecture -eq "x64") ? "amd64" : $this.Architecture
$goPlatform = ($this.Platform -Match "win32") ? "windows" : $this.Platform $goPlatform = ($this.Platform -Match "win32") ? "windows" : $this.Platform
$ArchiveType = ($this.Platform -Match "win32") ? "zip" : "tar.gz" $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))" $goVersion = "go$($this.Version.ToString(2))"
} else { } else {
$goVersion = "go$($this.Version.ToString(3))" $goVersion = "go$($this.Version.ToString(3))"

View File

@@ -1,4 +1,54 @@
[ [
{
"version": "1.21.0",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.21.0-5808081891",
"files": [
{
"filename": "go-1.21.0-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.0-5808081891/go-1.21.0-darwin-x64.tar.gz"
},
{
"filename": "go-1.21.0-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.0-5808081891/go-1.21.0-linux-x64.tar.gz"
},
{
"filename": "go-1.21.0-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.0-5808081891/go-1.21.0-win32-x64.zip"
}
]
},
{
"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", "version": "1.20.6",
"stable": true, "stable": true,
@@ -180,6 +230,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", "version": "1.19.11",
"stable": true, "stable": true,