Fix version in Makefile (#4)

Fix version in Makefile

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/gpm/pulls/4
pull/5/head v0.1.1
John Olheiser 2020-10-07 04:16:27 +00:00
parent 0577fb4dbc
commit a4cc44723f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
.PHONY: build .PHONY: build
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 .PHONY: fmt
fmt: fmt: