projects
/
awesomized
/
ext-ion
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
docs: simplify install instructions
[awesomized/ext-ion]
/
docs
/
Makefile
diff --git
a/docs/Makefile
b/docs/Makefile
index adc1b332527be7c1ff4180e8be4f4a8885a464dc..19ab235126430f69f5630182f5a2f92b5e20621b 100644
(file)
--- a/
docs/Makefile
+++ b/
docs/Makefile
@@
-1,6
+1,6
@@
PHP ?= php
COMPOSER ?= composer
PHP ?= php
COMPOSER ?= composer
-TAG := $(shell (git describe --tags --
exact-match --match=v[0-9]* 2>/dev/null || echo v0.0
) | cut -d. -f-2)
+TAG := $(shell (git describe --tags --
match=v[0-9]* 2>/dev/null || git tag --sort=authordate | egrep ^v[0-9] | tail -n1
) | cut -d. -f-2)
# ---
# ---