Skip to content

Commit

Permalink
update command to retrieve git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ks6088ts committed May 30, 2024
1 parent 6282fa0 commit 3306d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Git
GIT_REVISION ?= $(shell git rev-parse --short HEAD)
GIT_TAG ?= $(shell git describe --tags --abbrev=0 | sed -e s/v//g)
GIT_TAG ?= $(shell git describe --tags --abbrev=0 --always | sed -e s/v//g)

# Go
GOOS ?= $(shell go env GOOS)
Expand Down

0 comments on commit 3306d19

Please sign in to comment.