docs: Add go build example for setting version
This commit is contained in:
parent
5dacfd0dfe
commit
759787569d
|
@ -33,6 +33,10 @@ See [Running](#Running) for details.
|
|||
See the `go.mod` file for minimum required Go version.
|
||||
There are currently no dependencies apart from the Go standard library.
|
||||
|
||||
``` shell
|
||||
go build -ldflags '-X main.version=v420.69-rc23' .
|
||||
```
|
||||
|
||||
## Running
|
||||
|
||||
Set the environment variable to a comma-separated list of config files or pass the `-c` flag.
|
||||
|
|
Loading…
Reference in a new issue