This repository was archived by the owner on Sep 19, 2023. It is now read-only.

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,18 @@ echo "https://${_TOKEN}:@.com" >> ~/.git-credentials
2828
git config --global credential.helper 'store --file ~/.git-credentials'
2929

3030
python3.6 -m pip install git+https://.com/googleapis/synthtool.git#egg=gcp-synthtool
31+
32+
set +e
3133
python3.6 -m autosynth.synth \
3234
--repository=googleapis/java-shared-dependencies \
3335
--synth-file-name=./readme/synth.py \
3436
--metadata-path=./readme/synth.metadata \
3537
--pr-title="chore: regenerate README" \
36-
--branch-suffix="readme"
38+
--branch-suffix="readme"
39+
40+
# autosynth returns 28 to signal there are no changes
41+
RETURN_CODE=$?
42+
if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]]
43+
then
44+
exit ${RETURN_CODE}
45+
fi
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://.com/googleapis/java-shared-dependencies.git",
7-
"sha": "e6fc95a27ec4c3c6419da3e40157f64da24e1c73"
7+
"sha": "b09094fe36f28dad83d51d71017835c0daa40bef"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://.com/googleapis/synthtool.git",
14-
"sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9"
14+
"sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279"
1515
}
1616
}
1717
],

0 commit comments

Comments
 (0)