Fix "go install" example (#505)

because some wrong tagging was done in the past, `latest` will point to `1.3.3` witch is actually v0.1.x.

so you have to specify the version

Reviewed-on: https://gitea.com/gitea/tea/pulls/505
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
This commit is contained in:
6543 2022-09-14 09:08:41 +08:00 committed by Lunny Xiao
parent 6c9b2f8745
commit 4ee5ce4b52
1 changed files with 2 additions and 2 deletions

View File

@ -106,9 +106,9 @@ Make sure you have a current go version installed (1.13 or newer).
```
Note that GNU Make (gmake on OpenBSD) is required.
- For a quick installation without `git` & `make`:
- For a quick installation without `git` & `make`, set $version and exec:
```sh
go install code.gitea.io/tea@latest
go install code.gitea.io/tea@${version}
```
## Contributing