Merge pull request #302 from gmkurtzer/rpmbuild_releasetag

rpmbuild fix from tru (ref #298)
This commit is contained in:
Gregory M. Kurtzer
2022-02-12 20:35:29 -08:00
committed by GitHub

View File

@@ -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)