summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-16 21:06:47 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-16 21:06:47 +0200
commit42c93d97df6721fb90fc7b61e693332ee01e8f03 (patch)
tree5464b3d841dc3239e17d1c9e29fd1568426538c5
parent518bc00ef4c6784dd854bd1cc0adff47ee087b7b (diff)
downloadopenwrt-personal-pkgs-42c93d97df6721fb90fc7b61e693332ee01e8f03.tar.gz
openwrt-personal-pkgs-42c93d97df6721fb90fc7b61e693332ee01e8f03.tar.bz2
openwrt-personal-pkgs-42c93d97df6721fb90fc7b61e693332ee01e8f03.zip
autopkg: fix for real
-rw-r--r--autopkg-tag.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/autopkg-tag.mk b/autopkg-tag.mk
index acfd944..140c1c6 100644
--- a/autopkg-tag.mk
+++ b/autopkg-tag.mk
@@ -2,7 +2,7 @@
AUTOPKG_VARIANT:=tag
include $(TOPDIR)/package/autopkg-head.mk
-PKG_SOURCE_VERSION:=$(shell git $(GIT_ARGS) tag | grep '^v' | sort -n | tail -1)
+PKG_SOURCE_VERSION:=$(shell git $(GIT_ARGS) tag | grep '^v' | sort -V | tail -1)
PKG_VERSION:=$(subst v%,%,$(PKG_SOURCE_VERSION))
include $(TOPDIR)/package/autopkg-tail.mk