Compare commits
2 Commits
a42239e7a9
...
1.21.1-610
Author | SHA1 | Date | |
---|---|---|---|
|
05b161f8b7 | ||
|
0e4e5019c1 |
@@ -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))"
|
||||||
|
@@ -1,4 +1,29 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"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",
|
"version": "1.20.7",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
|
Reference in New Issue
Block a user