mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-11 12:18:08 +00:00
[BUILD] fixed the "git-tar" target in the Makefile
The git-tar target did not work correctly anymore, probably because of a recent change in the output of "git-describe --tags". This is now fixed.
This commit is contained in:
parent
5fc49f2fc3
commit
c21aa083df
4
Makefile
4
Makefile
@ -183,6 +183,6 @@ tar: clean
|
|||||||
rm -f haproxy-$(VERSION)
|
rm -f haproxy-$(VERSION)
|
||||||
|
|
||||||
git-tar: clean
|
git-tar: clean
|
||||||
ref=$(shell git-describe --tags); ver=$${ref#v};\
|
ref=$$(git-describe --tags); ref=$${ref%-g*}; ver=$${ref#v};\
|
||||||
comms=$(shell git-log $$ref..|grep -c ^commit); \
|
comms=$$(git-log $$ref..|grep -c ^commit); \
|
||||||
git-tar-tree HEAD haproxy-$(VERSION) | gzip -9 > haproxy-$$ver-$$comms.tar.gz
|
git-tar-tree HEAD haproxy-$(VERSION) | gzip -9 > haproxy-$$ver-$$comms.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user