diff --git a/scripts/clone/clone.sh b/scripts/clone/clone.sh index 5eeef4f0243..87d15e3ec8e 100755 --- a/scripts/clone/clone.sh +++ b/scripts/clone/clone.sh @@ -18,6 +18,8 @@ function run { ARGS="$ARGS --depth=$DEPTH" fi git clone https://driftyco:$GH_TOKEN@github.com/$REPOSITORY $DIRECTORY $ARGS + git fetch + git fetch --tags } source $(dirname $0)/../utils.inc