Skip to content

Commit 23b3324

Browse files
add SKIP_TAGS_ON_UPDATE remove REVISION and depth in other case (#89)
1 parent 2d7b2cc commit 23b3324

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 10.1.30
1+
version: 10.1.31

start.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ if [ -d "$CLONE_DIR" ]; then
203203
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}, skipping tags"
204204
git_retry git fetch origin ${REVISION:+$REVISION} --no-tags ${DEPTH:+ --depth=$DEPTH}
205205
else
206-
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}"
207-
git_retry git fetch origin ${REVISION:+$REVISION} --tags --prune "+refs/tags/*:refs/tags/*" ${DEPTH:+ --depth=$DEPTH}
206+
echo "Fetching updates from origin"
207+
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
208208
fi
209209

210210
git remote set-head origin --auto

0 commit comments

Comments
 (0)