Skip to content

Commit

Permalink
Fix GIT version in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
redhatrises committed Jul 13, 2018
1 parent 3f8739b commit 427a3b5
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
Expand Up @@ -20,7 +20,7 @@ BUILD_DIR ?= _output
BUILD_INFO := $(shell date -u +"%Y-%m-%dT%T%z")
BUILD_PLATFORMS = "windows/amd64" "windows/386" "darwin/amd64" "darwin/386" "linux/386" "linux/amd64" "linux/arm" "linux/arm64"

VERSION := $(shell git for-each-ref --format="%(refname:short)" --sort=-authordate --count=1 refs/tags | cut -d"v" -f2)
VERSION := $(shell git describe --abbrev=0 --tags | cut -d"v" -f2)
SHORTCOMMIT := $(shell git rev-parse --short HEAD)

# If GOPATH not specified, use one in the local directory
Expand Down

0 comments on commit 427a3b5

Please sign in to comment.