Merge pull request #302 from gmkurtzer/rpmbuild_releasetag
rpmbuild fix from tru (ref #298)
This commit is contained in:
2
Makefile
2
Makefile
@@ -3,7 +3,7 @@
|
||||
-include Defaults.mk
|
||||
|
||||
VERSION ?= 4.2.0
|
||||
GIT_TAG := $(shell test -e .git && git describe --tags --long --first-parent --always)
|
||||
GIT_TAG := $(shell test -e .git && git describe --tags --long --first-parent --always | tr '-' '_')
|
||||
|
||||
ifndef $(GIT_TAG)
|
||||
RELEASE ?= 1.git_$(GIT_TAG)
|
||||
|
||||
Reference in New Issue
Block a user