From 2c4e867bff6cd7e9c8651b9d04cfd52e4adb6676 Mon Sep 17 00:00:00 2001 From: Omar Hatem Date: Mon, 28 Aug 2023 19:16:47 +0300 Subject: [PATCH] Fetch tags first before switching to one of them --- scripts/android/build_haven.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/android/build_haven.sh b/scripts/android/build_haven.sh index f745e942e..8ac1356db 100755 --- a/scripts/android/build_haven.sh +++ b/scripts/android/build_haven.sh @@ -5,6 +5,7 @@ HAVEN_VERSION=tags/v3.0.7 HAVEN_SRC_DIR=${WORKDIR}/haven git clone https://github.com/haven-protocol-org/haven-main.git ${HAVEN_SRC_DIR} +git fetch --all --tags --prune git checkout ${HAVEN_VERSION} cd $HAVEN_SRC_DIR git submodule init