build: Fix detection tag-version

This commit is contained in:
remittor
2025-12-18 16:49:04 +03:00
parent 7aecaa4ab7
commit e2810bbe98

View File

@@ -208,7 +208,7 @@ jobs:
shell: bash
run: |
PKGDIR=$GITHUB_WORKSPACE/zapret-openwrt
MKFN=$PKGDIR/luci-app-zapret2/Makefile
MKFN=$PKGDIR/luci-app-zapret/Makefile
PKGVER=$( grep -s '^PKG_VERSION:=.*' $MKFN | cut -d'=' -f2 )
PKGREL=$( grep -s '^PKG_RELEASE:=.*' $MKFN | cut -d'=' -f2 )
[ "$PKGREL" != "1" ] && PKGVER=$PKGVER-r$PKGREL