Update README.md
This commit is contained in:
parent
4eb5cc0564
commit
31f37f73cb
@ -40,7 +40,7 @@ Easily make the current version available in your Makefile like so:
|
|||||||
VERSION ?= $(shell ./.version/calculate-version.sh)
|
VERSION ?= $(shell ./.version/calculate-version.sh)
|
||||||
|
|
||||||
$(EXECUTABLE):
|
$(EXECUTABLE):
|
||||||
go build -ldflags="-extldflags=-static -X main.Version=$(VERSION)" -o $(EXECUTABLE) .
|
go build -ldflags="-X main.Version=$(VERSION)" -o $(EXECUTABLE) .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Github Actions
|
### Github Actions
|
||||||
|
Loading…
Reference in New Issue
Block a user