mirror of
https://github.com/boolean-maybe/tiki
synced 2026-04-21 13:37:20 +00:00
remove v from version
This commit is contained in:
parent
129f847622
commit
f4e425b08b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -1,7 +1,7 @@
|
||||||
.PHONY: help build install clean test lint snapshot
|
.PHONY: help build install clean test lint snapshot
|
||||||
|
|
||||||
# Build variables
|
# Build variables
|
||||||
VERSION := $(shell git describe --tags --always --dirty 2>/dev/null || echo "dev")
|
VERSION := $(shell git describe --tags --always --dirty 2>/dev/null | sed 's/^v//' || echo "dev")
|
||||||
COMMIT := $(shell git rev-parse HEAD 2>/dev/null || echo "unknown")
|
COMMIT := $(shell git rev-parse HEAD 2>/dev/null || echo "unknown")
|
||||||
DATE := $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
|
DATE := $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
|
||||||
LDFLAGS := -ldflags "-X github.com/boolean-maybe/tiki/config.Version=$(VERSION) -X github.com/boolean-maybe/tiki/config.GitCommit=$(COMMIT) -X github.com/boolean-maybe/tiki/config.BuildDate=$(DATE)"
|
LDFLAGS := -ldflags "-X github.com/boolean-maybe/tiki/config.Version=$(VERSION) -X github.com/boolean-maybe/tiki/config.GitCommit=$(COMMIT) -X github.com/boolean-maybe/tiki/config.BuildDate=$(DATE)"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue