We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98b6e7e commit effc51fCopy full SHA for effc51f
1 file changed
pgp-verify-jar/create-bump-prs.sh
@@ -12,12 +12,15 @@ if [ -f .bump.csv.bak ]; then
12
csv="$(\cat .bump.csv.bak)"
13
\rm -f .bump.csv.bak
14
while IFS="," read -r p v1 v2 l1 l2; do
15
- b="${p}-${v2}"
+ b="${p}-${v2//[\~\:]/-}"
16
\git switch --create "${b}"
17
\perl -i -p -e "s|\Q${l1}\E|${l2}|g" Dockerfile
18
\git add Dockerfile
19
\git commit -S -m "build(deps): bump ${p} from ${v1} to ${v2}"
20
- read -n 1 -s -r -p "Please review and push commit in branch \"${b}\". Press enter to continue..."
+ echo "Please review and push commit in branch \"${b}\". Waiting..."
21
+ while \git status | \grep -Fq "Your branch is ahead"; do
22
+ \sleep 1
23
+ done
24
\gh pr create -f -l build -l dependencies
25
\git checkout -
26
done <<<"${csv}"
0 commit comments