Skip to content

Commit 149435b

Browse files
committed
chore(scripts): fix clone tags fetching
1 parent 3a24a5d commit 149435b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/clone/clone.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ function run {
1818
ARGS="$ARGS --depth=$DEPTH"
1919
fi
2020
git clone https://driftyco:$GH_TOKEN@github.com/$REPOSITORY $DIRECTORY $ARGS
21+
cd $DIRECTORY
2122
git fetch origin --tags
23+
cd ../
2224
}
2325

2426
source $(dirname $0)/../utils.inc

0 commit comments

Comments
 (0)