summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-16 19:36:06 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-16 19:37:14 +0200
commit518bc00ef4c6784dd854bd1cc0adff47ee087b7b (patch)
tree7e4915acf78988d8ba6be92a5928b4ec9a81e932
parentd3997b58d70027875704feefe55c5926308af9d8 (diff)
downloadopenwrt-personal-pkgs-518bc00ef4c6784dd854bd1cc0adff47ee087b7b.tar.gz
openwrt-personal-pkgs-518bc00ef4c6784dd854bd1cc0adff47ee087b7b.tar.bz2
openwrt-personal-pkgs-518bc00ef4c6784dd854bd1cc0adff47ee087b7b.zip
pkgauto: Try to fix which tag is marked as latest
-rw-r--r--autopkg-tag.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/autopkg-tag.mk b/autopkg-tag.mk
index 11adc22..acfd944 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 | tail -1)
+PKG_SOURCE_VERSION:=$(shell git $(GIT_ARGS) tag | grep '^v' | sort -n | tail -1)
PKG_VERSION:=$(subst v%,%,$(PKG_SOURCE_VERSION))
include $(TOPDIR)/package/autopkg-tail.mk