From 49de808d312e578f28bc760747d8b62c497d733f Mon Sep 17 00:00:00 2001 From: PhilippPlotnikov Date: Wed, 4 Jan 2023 15:23:44 +0400 Subject: [PATCH 1/4] Fix --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 8608737..762e45d 100644 --- a/start.sh +++ b/start.sh @@ -17,7 +17,7 @@ retry_script () { cd ../ rm -rf $CLONE_DIR export IS_RETRY=true - ./$0 $@ + .$0 $@ } git_retry () { From 5444c81c357f6e997f58252c535ab66efc75e03b Mon Sep 17 00:00:00 2001 From: PhilippPlotnikov Date: Wed, 4 Jan 2023 15:26:34 +0400 Subject: [PATCH 2/4] Up version --- service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.yaml b/service.yaml index f147b01..9017de6 100644 --- a/service.yaml +++ b/service.yaml @@ -1 +1 @@ -version: 10.1.15 +version: 10.1.16 From 7bec48b14ca74a9b5cd4e0dab33b9ea630538ed4 Mon Sep 17 00:00:00 2001 From: PhilippPlotnikov Date: Wed, 4 Jan 2023 15:43:11 +0400 Subject: [PATCH 3/4] Delete dot --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 762e45d..c7c6494 100644 --- a/start.sh +++ b/start.sh @@ -17,7 +17,7 @@ retry_script () { cd ../ rm -rf $CLONE_DIR export IS_RETRY=true - .$0 $@ + $0 $@ } git_retry () { From c18a4bdbb863d91efa7919a1707e7723bd4b9fba Mon Sep 17 00:00:00 2001 From: PhilippPlotnikov Date: Wed, 4 Jan 2023 16:03:29 +0400 Subject: [PATCH 4/4] Improve deleting files --- start.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index c7c6494..bfa2dfd 100644 --- a/start.sh +++ b/start.sh @@ -56,7 +56,12 @@ upsert_remote_alias () { } delete_process_lock_files () { - find ./.git -type f -iname '*.lock' -delete + ARE_PROCEE_LOCK_FILES=$(find ./.git -type f -iname '*.lock') + if [ -n "$ARE_PROCEE_LOCK_FILES" ]; then + echo Deleting process lock files: + echo $ARE_PROCEE_LOCK_FILES + find ./.git -type f -iname '*.lock' -delete + fi } trap exit_trap EXIT