fix make file
All checks were successful
Build and Package OPKG / Build aarch64 (push) Successful in 46s
Build and Package OPKG / Build armv5 (push) Successful in 39s
Build and Package OPKG / Build armv7 (push) Successful in 45s
Build and Package OPKG / Build mips (push) Successful in 44s
Build and Package OPKG / Build mipsel (push) Successful in 42s

This commit is contained in:
Vladimir Avtsenov 2025-02-14 00:07:11 +03:00
parent 1a47e0f817
commit d223d7e22e

View File

@ -2,7 +2,7 @@ APP_NAME = kvas2
APP_DESCRIPTION = DNS-based routing application
APP_MAINTAINER = Vladimir Avtsenov <vladimir.lsk.cool@gmail.com>
TAG = $(shell git describe --tags --abbrev=0)
TAG = $(shell git describe --tags --abbrev=0 2> /dev/null || git rev-parse --short HEAD)
COMMIT = $(shell git rev-parse --short HEAD)
COMMITS_SINCE_TAG = $(shell git rev-list ${TAG}..HEAD --count || echo "0")
VERSION ?= $(TAG)