Create git tags without release
For upstream releases we should not need that level of granularity, major.minor.patch version should be enough. This change will make the tags simpler for consumers especially by removing the dist tag that adds no value whatsoever. Fixes: #407 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
160df7f89a
commit
d898f00d33
2
Makefile
2
Makefile
@ -3,7 +3,7 @@
|
||||
PKGNAME=pungi
|
||||
VERSION=$(shell rpm -q --qf "%{VERSION}\n" --specfile ${PKGNAME}.spec)
|
||||
RELEASE=$(shell rpm -q --qf "%{RELEASE}\n" --specfile ${PKGNAME}.spec)
|
||||
GITTAG=${PKGNAME}-$(VERSION)-$(RELEASE)
|
||||
GITTAG=${PKGNAME}-$(VERSION)
|
||||
PKGRPMFLAGS=--define "_topdir ${PWD}" --define "_specdir ${PWD}" --define "_sourcedir ${PWD}/dist" --define "_srcrpmdir ${PWD}" --define "_rpmdir ${PWD}" --define "_builddir ${PWD}"
|
||||
|
||||
RPM="noarch/${PKGNAME}-$(VERSION)-$(RELEASE).noarch.rpm"
|
||||
|
Loading…
Reference in New Issue
Block a user