Fetch tags first before switching to one of them

This commit is contained in:
Omar Hatem 2023-08-28 19:16:47 +03:00 committed by GitHub
parent 9af37ac96f
commit 2c4e867bff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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