From 5de90872079b0ae8f64d40b7838aefce809203ad Mon Sep 17 00:00:00 2001 From: sh <37271604+shumvgolove@users.noreply.github.com> Date: Sun, 18 Feb 2024 15:28:12 +0000 Subject: [PATCH] build-android.sh: fix tag detection (#3817) --- scripts/android/build-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/android/build-android.sh b/scripts/android/build-android.sh index 7550cdb87b..174db533a3 100755 --- a/scripts/android/build-android.sh +++ b/scripts/android/build-android.sh @@ -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