Fix version in Makefile #4
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
|
|||
|
||||
.PHONY: build
|
||||
build:
|
||||
$(GO) build -ldflags '-s -w -X "go.jolheiser.com/gpm/modules/config.Version=$(VERSION)"'
|
||||
$(GO) build -ldflags '-s -w -X "go.jolheiser.com/gpm/config.Version=$(VERSION)"'
|
||||
|
||||
.PHONY: fmt
|
||||
fmt:
|
||||
|
|
Loading…
Reference in New Issue