File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
-
3
2
set -euo pipefail
3
+ IFS=$' \n\t '
4
4
5
5
cd " $( \d irname " ${0} " ) "
6
6
@@ -11,14 +11,14 @@ if [ -f .bump.csv.bak ]; then
11
11
fi
12
12
csv=" $( \c at .bump.csv.bak) "
13
13
\r m -f .bump.csv.bak
14
- while IFS=" , " read -r p v1 v2 l1 l2; do
14
+ while IFS=' , ' read -r p v1 v2 l1 l2; do
15
15
b=" ${p} -${v2// [\~\:]/ -} "
16
16
\g it switch --create " ${b} "
17
17
\p erl -i -p -e " s|\Q${l1} \E|${l2} |g" Dockerfile
18
18
\g it add Dockerfile
19
19
\g it commit -S -m " build(deps): bump ${p} from ${v1} to ${v2} "
20
20
echo " Please review and push commit in branch \" ${b} \" . Waiting..."
21
- while \ g it status | \g rep -Fq " Your branch is ahead " ; do
21
+ while [ " $( git rev-list --count --left-only ' @{u}...HEAD ' ) " -gt 0 ] ; do
22
22
\s leep 1
23
23
done
24
24
\g h pr create -f -l build -l dependencies
You can’t perform that action at this time.
0 commit comments