Skip to content

Commit

Permalink
update cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
eti-codefresh committed Sep 2, 2024
1 parent 7f8ed9a commit 773e7d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ if [ -d "$CLONE_DIR" ]; then
git_retry git remote prune origin

if [ -n "$SKIP_TAGS_ON_UPDATE" ]; then
echo "Fetching updates from origin with${DEPTH:+ a depth of $DEPTH}, skipping tags"
git_retry git fetch origin ${REVISION:-'HEAD'} --prune --depth=${DEPTH:-0} --no-tags
echo "Fetching updates from origin, skipping tags"
git_retry git fetch origin --prune --no-tags
else
echo "Fetching updates from origin with${DEPTH:+ a depth of $DEPTH}, including tags"
git_retry git fetch origin ${REVISION:-'HEAD'} --depth=${DEPTH:-0} --tags --prune "+refs/tags/*:refs/tags/*"
echo "Fetching updates from origin"
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
fi


Expand Down

0 comments on commit 773e7d4

Please sign in to comment.