From a730fab20696173cb2053d3e3f62077d4eb9bc8f Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Tue, 4 Jun 2024 22:55:43 -0400 Subject: [PATCH] chore: Update Go version in GVM readme. (#84) Bump Go version to 1.22.4 --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6e21ede..6c8265d 100644 --- a/README.md +++ b/README.md @@ -8,15 +8,15 @@ examples for common shells. bash: -`eval "$(gvm 1.22.3)"` +`eval "$(gvm 1.22.4)"` cmd.exe (for batch scripts `%i` should be substituted with `%%i`): -`FOR /f "tokens=*" %i IN ('"gvm.exe" 1.22.3') DO %i` +`FOR /f "tokens=*" %i IN ('"gvm.exe" 1.22.4') DO %i` powershell: -`gvm --format=powershell 1.22.3 | Invoke-Expression` +`gvm --format=powershell 1.22.4 | Invoke-Expression` gvm flags can be set via environment variables by setting `GVM_`. For example `--http-timeout` can be set via `GVM_HTTP_TIMEOUT=10m`. @@ -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.3)" +eval "$(gvm 1.22.4)" go version ``` @@ -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.3)" +eval "$(gvm 1.22.4)" go version ``` @@ -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.3)" +eval "$(gvm 1.22.4)" go version ``` @@ -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.3 | Invoke-Expression +gvm --format=powershell 1.22.4 | Invoke-Expression go version ``` Fish Shell: -Use `gvm` with fish shell by executing `gvm 1.22.3 | source` in lieu of using `eval`. +Use `gvm` with fish shell by executing `gvm 1.22.4 | source` in lieu of using `eval`. For existing Go users: