From 1394bcae58ee8fc503a53f43bdac222f409a1e1f Mon Sep 17 00:00:00 2001 From: Roy Keene Date: Mon, 19 Nov 2018 23:58:03 -0600 Subject: [PATCH] git clone with a single branch does not include annotated tags ? (#1395) --- util/makesrc | 1 + 1 file changed, 1 insertion(+) diff --git a/util/makesrc b/util/makesrc index 25590eed..cbd8dba4 100755 --- a/util/makesrc +++ b/util/makesrc @@ -19,6 +19,7 @@ scriptDir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" function make_source () { git clone --recursive --single-branch --branch releases/v${VERSION_MAJOR} https://github.com/nanocurrency/raiblocks nano-$VERSION cd nano-$VERSION + git pull --tags COUNT=`git tag -l "${TAG}" | wc -l` if [ "$COUNT" -eq 0 ]; then echo "tag $TAG not found"