Skip to content

Commit

Permalink
Prepare v0.3.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh committed Nov 4, 2021
1 parent 6cd36dd commit 830cdb4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).

### Changed

### Fixed

### Added

## [0.3.1]

### Changed

- Use Go 1.17 to build project. [#40](https://github.com/andrewkroh/gvm/pull/40)

### Fixed
Expand Down Expand Up @@ -104,7 +112,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).

Initial release.

[Unreleased]: https://github.com/andrewkroh/gvm/compare/v0.3.0...HEAD
[Unreleased]: https://github.com/andrewkroh/gvm/compare/v0.3.1...HEAD
[0.3.1]: https://github.com/andrewkroh/gvm/releases/tag/v0.3.1
[0.3.0]: https://github.com/andrewkroh/gvm/releases/tag/v0.3.0
[0.2.4]: https://github.com/andrewkroh/gvm/releases/tag/v0.2.4
[0.2.3]: https://github.com/andrewkroh/gvm/releases/tag/v0.2.3
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ shells.

bash:

`eval "$(gvm 1.15.6)"`
`eval "$(gvm 1.17.2)"`

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

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

powershell:

`gvm --format=powershell 1.15.6 | Invoke-Expression`
`gvm --format=powershell 1.17.2 | Invoke-Expression`

Installation
------------
Expand All @@ -31,35 +31,35 @@ Linux:

``` bash
# Linux Example (assumes ~/bin is in PATH).
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.3.0/gvm-linux-amd64
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.3.1/gvm-linux-amd64
chmod +x ~/bin/gvm
eval "$(gvm 1.15.6)"
eval "$(gvm 1.17.2)"
go version
```

macOS:

``` bash
# macOS Example
curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.3.0/gvm-darwin-amd64
curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.3.1/gvm-darwin-amd64
chmod +x /usr/local/bin/gvm
eval "$(gvm 1.15.6)"
eval "$(gvm 1.17.2)"
go version
```

Windows (Powershell):

```
[Net.ServicePointManager]::SecurityProtocol = "tls12"
Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.3.0/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
gvm --format=powershell 1.15.6 | Invoke-Expression
Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.3.1/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
gvm --format=powershell 1.17.2 | Invoke-Expression
go version
```

Fish Shell:

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

For existing Go users:

`go get -u github.com/andrewkroh/gvm/cmd/gvm`
`go install github.com/andrewkroh/gvm/cmd/gvm@v0.3.1`

0 comments on commit 830cdb4

Please sign in to comment.