Skip to content

Commit a1ba0e7

Browse files
authored
Prepare 0.5.0 release (#58)
1 parent 2fe721b commit a1ba0e7

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1515

1616
### Added
1717

18+
## [0.5.0]
19+
20+
### Changed
21+
22+
- Updated releases to use Go 1.18. [#54](https://github.com/andrewkroh/gvm/pull/54)
23+
- Report Go module version from `gvm --version` if installed via `go install`. [#57](https://github.com/andrewkroh/gvm/pull/57)
24+
25+
### Fixed
26+
27+
- Fix `--arch` flag and associated `GVM_ARCH` env variable. [#53](https://github.com/andrewkroh/gvm/pull/53)
28+
1829
## [0.4.1]
1930

2031
### Fixed
@@ -140,7 +151,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
140151

141152
Initial release.
142153

143-
[Unreleased]: https://github.com/andrewkroh/gvm/compare/v0.4.1...HEAD
154+
[Unreleased]: https://github.com/andrewkroh/gvm/compare/v0.5.0...HEAD
155+
[0.5.0]: https://github.com/andrewkroh/gvm/releases/tag/v0.5.0
144156
[0.4.1]: https://github.com/andrewkroh/gvm/releases/tag/v0.4.1
145157
[0.4.0]: https://github.com/andrewkroh/gvm/releases/tag/v0.4.0
146158
[0.3.2]: https://github.com/andrewkroh/gvm/releases/tag/v0.3.2

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Linux (amd64):
3434

3535
``` bash
3636
# Linux Example (assumes ~/bin is in PATH).
37-
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.4.1/gvm-linux-amd64
37+
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.0/gvm-linux-amd64
3838
chmod +x ~/bin/gvm
3939
eval "$(gvm 1.18.5)"
4040
go version
@@ -44,7 +44,7 @@ macOS (amd64):
4444

4545
``` bash
4646
# macOS Example
47-
curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.4.1/gvm-darwin-amd64
47+
curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.0/gvm-darwin-amd64
4848
chmod +x /usr/local/bin/gvm
4949
eval "$(gvm 1.18.5)"
5050
go version
@@ -54,7 +54,7 @@ macOS (arm64):
5454

5555
``` bash
5656
# macOS Example
57-
curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.4.1/gvm-darwin-arm64
57+
curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.0/gvm-darwin-arm64
5858
chmod +x /usr/local/bin/gvm
5959
eval "$(gvm 1.18.5)"
6060
go version
@@ -64,7 +64,7 @@ Windows (PowerShell):
6464

6565
```
6666
[Net.ServicePointManager]::SecurityProtocol = "tls12"
67-
Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.4.1/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
67+
Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.5.0/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
6868
gvm --format=powershell 1.18.5 | Invoke-Expression
6969
go version
7070
```
@@ -75,4 +75,4 @@ Use `gvm` with fish shell by executing `gvm 1.18.5 | source` in lieu of using `e
7575

7676
For existing Go users:
7777

78-
`go install github.com/andrewkroh/gvm/cmd/gvm@v0.4.1`
78+
`go install github.com/andrewkroh/gvm/cmd/gvm@v0.5.0`

cmd/gvm/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func installCommand(cmd *kingpin.CmdClause) func(*gvm.Manager) error {
1212
var version string
1313
var build bool
1414
cmd.Flag("build", "Build go version from source").Short('b').BoolVar(&build)
15-
cmd.Arg("version", "Go version to install (e.g. 1.10.3).").StringVar(&version)
15+
cmd.Arg("version", "Go version to install (e.g. 1.18.5).").StringVar(&version)
1616

1717
return func(manager *gvm.Manager) error {
1818
if version == "" {

cmd/gvm/use.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type useCmd struct {
2020
func useCommand(cmd *kingpin.CmdClause) func(*gvm.Manager) error {
2121
ctx := &useCmd{}
2222

23-
cmd.Arg("version", "Go version to install (e.g. 1.10.3).").StringVar(&ctx.version)
23+
cmd.Arg("version", "Go version to install (e.g. 1.18.5).").StringVar(&ctx.version)
2424
cmd.Flag("build", "Build go version from source").Short('b').BoolVar(&ctx.build)
2525
cmd.Flag("no-install", "Don't install if missing").Short('n').BoolVar(&ctx.noInstall)
2626
cmd.Flag("format", "Format to use for the shell commands. Options: bash, batch, powershell").

0 commit comments

Comments
 (0)