projects
/
oweals
/
hwdata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
251c37d
)
- Fix tag name for rhel branches
author
Vitezslav Crhonek
<vcrhonek@redhat.com>
Mon, 25 Feb 2019 13:44:01 +0000
(14:44 +0100)
committer
Vitezslav Crhonek
<vcrhonek@redhat.com>
Mon, 25 Feb 2019 13:44:01 +0000
(14:44 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 6f16e91abe5f9ecd7b6793f8ce3f04615bf175bb..05988b726428c54588931ea6f0fa4072c38730e8 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,7
+3,7
@@
VERSION=$(shell awk '/Version:/ { print $$2 }' hwdata.spec)
RELEASE=$(shell rpm -q --define 'dist %{nil}' --specfile --qf "%{release}" hwdata.spec)
ifeq ($(shell git rev-parse --abbrev-ref HEAD | sed -n 's/^\([^0-9-]\+\).*/\L\1/p'), rhel)
# add revision to tag name for rhel branches
- TAGNAME :=
$(NAME)-
$(VERSION)-$(RELEASE)
+ TAGNAME :=
v
$(VERSION)-$(RELEASE)
else
TAGNAME := v$(VERSION)
endif