Makefile 147 B

12345
  1. VERSION = $(shell git describe | sed 's/lyrebird-//')
  2. build:
  3. CGO_ENABLED=0 go build -ldflags="-X main.lyrebirdVersion=$(VERSION)" ./cmd/lyrebird