We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e15601 commit b66e8a9Copy full SHA for b66e8a9
Makefile
@@ -4,7 +4,7 @@ BUILD_DATE = $(shell date +%FT%T%z)
4
GO_VERSION = $(shell go version | awk '{print $$3}')
5
GIT_COMMIT = $(shell git rev-parse --short HEAD)
6
PACKAGE = $(shell awk '$$1 == "Name:" { print $$2 }' $(SPECFILE) )
7
-VERSION = $(shell git describe --abbrev=0 | sed 's/^v//g' )
+VERSION = $(shell git tag --sort=-v:refname | head -n 1 | sed 's/^v//g' )
8
RELEASE = $(shell awk '$$1 == "Release:" { print $$2 }' $(SPECFILE) )
9
OS_ARCH = $(shell echo "$$(uname -s)/$$(uname -m)")
10
rpmbuild = ${shell pwd}/rpmbuild
0 commit comments