From 52c25616fad5d1114aebe4ea6fec0ffc9a0d2e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 16 Sep 2018 19:36:06 +0200 Subject: pkgauto: Try to fix which tag is marked as latest --- autopkg-tag.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3