Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: actions/go-versions
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.19.12-5739706861
Choose a base ref
...
head repository: actions/go-versions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.19.13-6107263891
Choose a head ref
  • 3 commits
  • 2 files changed
  • 3 contributors

Commits on Aug 3, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a42239e View commit details

Commits on Aug 9, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0e4e501 View commit details
  2. Update versions-manifest (#82)

    Co-authored-by: Service account <no-reply@microsoft.com>
    github-actions[bot] and 459680 authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    05b161f View commit details
Showing with 76 additions and 1 deletion.
  1. +1 −1 builders/go-builder.psm1
  2. +75 −0 versions-manifest.json
2 changes: 1 addition & 1 deletion builders/go-builder.psm1
Original file line number Diff line number Diff line change
@@ -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))"
75 changes: 75 additions & 0 deletions versions-manifest.json
Original file line number Diff line number Diff line change
@@ -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",
"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",
"stable": true,