Skip to content

Commit 8bfe805

Browse files
committed
build: fix build script
1 parent b9a0d89 commit 8bfe805

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build-android.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CD=$(dirname $0)
55
cd $CD/../android
66

77
RELEASE_DIR="app/build/outputs/apk/release"
8-
BUILD_TOOLS="$HOME/app/android-sdk/build-tools/30.0.3"
8+
BUILD_TOOLS="$ANDROID_SDK_ROOT/build-tools/30.0.3"
99

1010
./gradlew build
1111

@@ -14,7 +14,7 @@ $BUILD_TOOLS/zipalign -f -v -p 4 \
1414
$RELEASE_DIR/app-release-unsigned-aligned.apk
1515

1616
$BUILD_TOOLS/apksigner sign --ks $HOME/.android/release-key.jks \
17-
--out $RELEASE_DIR/app-release.apk \
17+
--out $RELEASE_DIR/task.json-web-$(git describe).apk \
1818
$RELEASE_DIR/app-release-unsigned-aligned.apk
1919

2020

0 commit comments

Comments
 (0)