Skip to content

Commit

Permalink
add SKIP_TAGS_ON_UPDATE remove REVISION and depth in other case
Browse files Browse the repository at this point in the history
  • Loading branch information
eti-codefresh committed Sep 25, 2024
1 parent 2d7b2cc commit c03729c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion service.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 10.1.30
version: 10.1.31
4 changes: 2 additions & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ if [ -d "$CLONE_DIR" ]; then
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}, skipping tags"
git_retry git fetch origin ${REVISION:+$REVISION} --no-tags ${DEPTH:+ --depth=$DEPTH}
else
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}"
git_retry git fetch origin ${REVISION:+$REVISION} --tags --prune "+refs/tags/*:refs/tags/*" ${DEPTH:+ --depth=$DEPTH}
echo "Fetching updates from origin"
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
fi

git remote set-head origin --auto
Expand Down

0 comments on commit c03729c

Please sign in to comment.