From 23b332420916279a5b70dc85844ef0b425d6cee3 Mon Sep 17 00:00:00 2001 From: Eti Zaguri Date: Sun, 29 Sep 2024 10:53:58 +0300 Subject: [PATCH] add SKIP_TAGS_ON_UPDATE remove REVISION and depth in other case (#89) --- service.yaml | 2 +- start.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/service.yaml b/service.yaml index 1727721..e4d535f 100644 --- a/service.yaml +++ b/service.yaml @@ -1 +1 @@ -version: 10.1.30 +version: 10.1.31 diff --git a/start.sh b/start.sh index 4ebbeac..394275c 100644 --- a/start.sh +++ b/start.sh @@ -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