Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Automation] Bump Go version to 1.22.5 #86

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ examples for common shells.

bash:

`eval "$(gvm 1.22.4)"`
`eval "$(gvm 1.22.5)"`

cmd.exe (for batch scripts `%i` should be substituted with `%%i`):

`FOR /f "tokens=*" %i IN ('"gvm.exe" 1.22.4') DO %i`
`FOR /f "tokens=*" %i IN ('"gvm.exe" 1.22.5') DO %i`

powershell:

`gvm --format=powershell 1.22.4 | Invoke-Expression`
`gvm --format=powershell 1.22.5 | Invoke-Expression`

gvm flags can be set via environment variables by setting `GVM_<flag>`. For
example `--http-timeout` can be set via `GVM_HTTP_TIMEOUT=10m`.
Expand All @@ -36,7 +36,7 @@ Linux (amd64):
# Linux Example (assumes ~/bin is in PATH).
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-linux-amd64
chmod +x ~/bin/gvm
eval "$(gvm 1.22.4)"
eval "$(gvm 1.22.5)"
go version
```

Expand All @@ -46,7 +46,7 @@ Linux (arm64):
# Linux Example (assumes ~/bin is in PATH).
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-linux-arm64
chmod +x ~/bin/gvm
eval "$(gvm 1.22.4)"
eval "$(gvm 1.22.5)"
go version
```

Expand All @@ -56,7 +56,7 @@ macOS (universal):
# macOS Example
curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-darwin-all
chmod +x /usr/local/bin/gvm
eval "$(gvm 1.22.4)"
eval "$(gvm 1.22.5)"
go version
```

Expand All @@ -65,13 +65,13 @@ Windows (PowerShell):
```
[Net.ServicePointManager]::SecurityProtocol = "tls12"
Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
gvm --format=powershell 1.22.4 | Invoke-Expression
gvm --format=powershell 1.22.5 | Invoke-Expression
go version
```

Fish Shell:

Use `gvm` with fish shell by executing `gvm 1.22.4 | source` in lieu of using `eval`.
Use `gvm` with fish shell by executing `gvm 1.22.5 | source` in lieu of using `eval`.

For existing Go users:

Expand Down
Loading