Skip to content

Commit b5518ab

Browse files
[BE]:Fix (#48)
* Fix * Up version * Delete dot * Improve deleting files
1 parent 1d82ab0 commit b5518ab

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 10.1.15
1+
version: 10.1.16

start.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ retry_script () {
1717
cd ../
1818
rm -rf $CLONE_DIR
1919
export IS_RETRY=true
20-
./$0 $@
20+
$0 $@
2121
}
2222

2323
git_retry () {
@@ -56,7 +56,12 @@ upsert_remote_alias () {
5656
}
5757

5858
delete_process_lock_files () {
59-
find ./.git -type f -iname '*.lock' -delete
59+
ARE_PROCEE_LOCK_FILES=$(find ./.git -type f -iname '*.lock')
60+
if [ -n "$ARE_PROCEE_LOCK_FILES" ]; then
61+
echo Deleting process lock files:
62+
echo $ARE_PROCEE_LOCK_FILES
63+
find ./.git -type f -iname '*.lock' -delete
64+
fi
6065
}
6166

6267
trap exit_trap EXIT

0 commit comments

Comments
 (0)