File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- set -euo pipefail
3+ set -euox pipefail
44
55dir=" gcp-api-descriptors"
66branch=$( git rev-parse --abbrev-ref HEAD)
@@ -10,20 +10,20 @@ rm -rf $dir
1010echo " Cloning gcp-api-descriptors branch:${branch} "
1111git clone
[email protected] :ComputeSoftware/gcp-api-descriptors.git
$dir 1212cd $dir
13- git checkout -b ${branch}
14- git pull origin ${branch}
13+ git checkout " ${branch} "
14+ git pull origin " ${branch} "
1515cd ..
1616
1717echo " Updating descriptor files..."
18- clojure -A :dev -m update-descriptors $dir
18+ clojure -M :dev -m update-descriptors $dir
1919
2020cd $dir
2121
2222if [[ $( git status --porcelain) ]]; then
2323 echo " Changes dectected. Updating descriptors..."
2424 git add -A .
2525 git commit -a -m " Update descriptor files"
26- git push -u origin ${branch}
26+ git push -u origin " ${branch} "
2727else
2828 echo " No changes to push."
2929fi
You can’t perform that action at this time.
0 commit comments