mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-28 02:18:10 +03:00
build: Fix detection tag-version
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user