Skip to content

Commit

Permalink
Fix tag selection on cli make target
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Morales <[email protected]>
  • Loading branch information
electrocucaracha committed Nov 4, 2022
1 parent 9c098c1 commit 4978e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SHELL := bash

binaries := cmd/tink-cli/tink-cli cmd/tink-controller/tink-controller cmd/tink-server/tink-server cmd/tink-worker/tink-worker cmd/virtual-worker/virtual-worker
version := $(shell git rev-parse --short HEAD)
tag := $(shell git tag --points-at HEAD)
tag := $(shell git tag --points-at HEAD | head -n 1)
ifneq (,$(tag))
version := $(tag)-$(version)
endif
Expand Down

0 comments on commit 4978e6b

Please sign in to comment.