git clone with a single branch does not include annotated tags ? (#1395)

This commit is contained in:
Roy Keene 2018-11-19 23:58:03 -06:00 committed by GitHub
commit 1394bcae58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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