git clone with a single branch does not include annotated tags ? (#1395)
This commit is contained in:
parent
b7aa099f07
commit
1394bcae58
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue