From 6d837373366730ac9d761103929266f8040a50c9 Mon Sep 17 00:00:00 2001 From: itdoginfo Date: Mon, 25 Aug 2025 19:11:12 +0300 Subject: [PATCH] Auto version for make --- luci-app-podkop/Makefile | 4 +++- podkop/Makefile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/luci-app-podkop/Makefile b/luci-app-podkop/Makefile index 48869cc..a745c2a 100644 --- a/luci-app-podkop/Makefile +++ b/luci-app-podkop/Makefile @@ -1,7 +1,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-podkop -PKG_VERSION:=0.4.7 + +PKG_VERSION := $(shell git describe --tags --exact-match 2>/dev/null || echo "dev_$(shell date +%d%m%Y)") + PKG_RELEASE:=1 LUCI_TITLE:=LuCI podkop app diff --git a/podkop/Makefile b/podkop/Makefile index d9a5dea..dfd0df1 100644 --- a/podkop/Makefile +++ b/podkop/Makefile @@ -1,7 +1,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=podkop -PKG_VERSION:=0.4.7 + +PKG_VERSION := $(shell git describe --tags --exact-match 2>/dev/null || echo "dev_$(shell date +%d%m%Y)") + PKG_RELEASE:=1 PKG_MAINTAINER:=ITDog