Skip to content

Commit 67654c7

Browse files
committed
[scripts] prefer tag names
1 parent 09cfe3c commit 67654c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/release-apk.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cd `dirname $0`/..
1313

1414
./gradlew cleanBuildCache clean assembleRelease
1515

16-
VERSION=`git describe`
16+
VERSION=`git describe --tags`
1717
APKDIR=distribution/bin
1818
APK=robotv-${VERSION}.apk
1919
APKFILE=${APKDIR}/${APK}

scripts/release-bundle.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cd `dirname $0`/..
1313

1414
./gradlew cleanBuildCache clean bundleRelease
1515

16-
VERSION=`git describe`
16+
VERSION=`git describe --tags`
1717
AABDIR=distribution/bin
1818
AAB=robotv-${VERSION}.aab
1919
AABFILE=${AABDIR}/${AAB}

0 commit comments

Comments
 (0)