Skip to content

Commit

Permalink
fix: version output
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Oct 23, 2022
1 parent 16ee1ca commit bb59458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ COLORIZE_FAIL=sed ''/FAIL/s//$$(printf "$(RED)FAIL$(RESET)")/''
VERSION := $(shell git describe --tags --abbrev=0)
REVISION := $(shell git rev-parse --short HEAD)
LDFLAGS := -s -w \
-X 'github.com/go-to-k/cls3/option.Version=$(VERSION)' \
-X 'github.com/go-to-k/cls3/option.Revision=$(REVISION)'
-X 'github.com/go-to-k/cls3.Version=$(VERSION)' \
-X 'github.com/go-to-k/cls3.Revision=$(REVISION)'
GO_FILES:=$(shell find . -type f -name '*.go' -print)

TEST_RESULT := "$$(go test -race -cover -v ./... -coverpkg=./...)"
Expand Down

0 comments on commit bb59458

Please sign in to comment.