Skip to content

Commit f5becd7

Browse files
committed
Update README and fix release script
1 parent d12d0c2 commit f5becd7

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
bin/
2-
dist/
2+
dist/
3+
/goversion

.goreleaser.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,4 @@ changelog:
3030
filters:
3131
exclude:
3232
- '^docs:'
33-
- '^test:'
34-
dockers:
35-
- dockerfile: Dockerfile
36-
goos: linux
37-
goarch: amd64
38-
binaries:
39-
- goversion
33+
- '^test:'

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,16 @@ To install the optional `goversion` CLI, use one of the following options:
2121

2222
### Using a pre-built release to get the goversion CLI
2323

24-
TODO
24+
To download a stable release of goversion, see the
25+
[Github Releases](https://github.com/erwinvaneyk/goversion/releases). For
26+
example, to download the latest version run the following:
27+
28+
```bash
29+
VERSION=v0.1.0 # Change to get an older version.
30+
wget https://github.com/erwinvaneyk/goversion/releases/download/v${VERSION}/goversion_$(echo $VERSION | sed 's/v//')_$(uname)_$(uname -m).tar.gz -O goversion.tar.gz
31+
tar -xvf goversion.tar.gz
32+
sudo mv ./goversion /usr/local/bin/goversion
33+
```
2534

2635
### Using Go tools to get the goversion CLI
2736

0 commit comments

Comments
 (0)