summaryrefslogtreecommitdiff
path: root/autopkg-tag.mk
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-08-30 12:42:30 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-08-30 12:52:23 +0200
commit7a4e7809358548e24a5debb375e6e6a368247f79 (patch)
treeb457ae7ba1461966683b28f1f65191443236ee5b /autopkg-tag.mk
parenta6abd46888c5780377786b50e7a1ca8812ab0960 (diff)
downloadopenwrt-personal-pkgs-7a4e7809358548e24a5debb375e6e6a368247f79.tar.gz
openwrt-personal-pkgs-7a4e7809358548e24a5debb375e6e6a368247f79.tar.bz2
openwrt-personal-pkgs-7a4e7809358548e24a5debb375e6e6a368247f79.zip
autopkg: move it back
Diffstat (limited to 'autopkg-tag.mk')
-rw-r--r--autopkg-tag.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/autopkg-tag.mk b/autopkg-tag.mk
new file mode 100644
index 0000000..1524e2c
--- /dev/null
+++ b/autopkg-tag.mk
@@ -0,0 +1,8 @@
+# Autopkg tracking latest version tag
+AUTOPKG_VARIANT:=tag
+include $(TOPDIR)/feeds/personal/autopkg-head.mk
+
+PKG_SOURCE_VERSION:=$(shell git $(GIT_ARGS) tag | grep '^v' | sort | tail -1)
+PKG_VERSION:=$(subst v%,%,$(PKG_SOURCE_VERSION))
+
+include $(TOPDIR)/feeds/personal/autopkg-tail.mk