We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1733362 commit 703dc99Copy full SHA for 703dc99
1 file changed
.github/scripts/renovate_bump.sh
@@ -4,7 +4,11 @@ app_path=$1
4
update_type=$2
5
dep_name=$3
6
dep_version=$4
7
-log_path="./renovate.log"
+log_path="/tmp/renovate.log"
8
+
9
+if [ ! -f "$log_path" ]; then
10
+ touch "$log_path"
11
+fi
12
13
if [[ -z "$app_path" ]]; then
14
echo "Missing app_path"
@@ -16,7 +20,7 @@ if [[ -z "$update_type" ]]; then
16
20
exit 1
17
21
fi
18
22
19
-if grep "{{{packageFileDir}}}" "$log_path"; then
23
+if grep "$app_path" "$log_path"; then
24
exit 0
25
26
@@ -29,4 +33,4 @@ docker run --quiet --rm \
29
33
--dep-name "$dep_name" \
30
34
--dep-version "$dep_version"
31
35
32
-echo "$app_path" >>"$log_path"
36
+echo "$app_path" >>"$log_path"
0 commit comments