build-android.sh: fix tag detection (#3817)

This commit is contained in:
sh 2024-02-18 15:28:12 +00:00 committed by GitHub
parent 364b62320b
commit 5de9087207
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,7 @@ build() {
for arch in $arches; do
tag_full="$(git tag --points-at HEAD)"
tag_full="$(git tag --points-at HEAD | head -n1)"
tag_version="${tag_full%%-*}"
if [ "$arch" = "armv7a" ] && [ -n "$tag_full" ] ; then