build-android: specify commit (#904)

This commit is contained in:
sh
2022-08-05 10:14:32 +03:00
committed by GitHub
parent e8749debec
commit a254d5f050
+3 -1
View File
@@ -4,6 +4,7 @@ set -eu
u="$USER"
tmp=$(mktemp -d -t)
commit="${1:-nix-android}"
commands="nix git gradle unzip curl"
nix_install() {
@@ -32,7 +33,7 @@ git_setup() {
git clone https://github.com/simplex-chat/simplex-chat "$tmp/simplex-chat"
# Switch to nix-android branch
git -C "$tmp/simplex-chat" checkout nix-android
git -C "$tmp/simplex-chat" checkout "$commit"
# Create missing folders
mkdir -p "$tmp/simplex-chat/apps/android/app/src/main/cpp/libs/arm64-v8a"
@@ -40,6 +41,7 @@ git_setup() {
checks() {
set +u
for i in $commands; do
case $i in
nix)