File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,18 @@ echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials
28
28
git config --global credential.helper ' store --file ~/.git-credentials'
29
29
30
30
python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool
31
+
32
+ set +e
31
33
python3.6 -m autosynth.synth \
32
34
--repository=googleapis/google-api-java-client \
33
35
--synth-file-name=.github/readme/synth.py \
34
36
--metadata-path=.github/readme/synth.metadata \
35
37
--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 number Diff line number Diff line change 4
4
"git": {
5
5
"name": ".",
6
6
"remote": "https://github.com/googleapis/google-api-java-client.git",
7
- "sha": "10bb90441c90cb5ea7045a1ac5d39d669fad963d "
7
+ "sha": "279fa998adbace327041ea376a2a450e75390cc3 "
8
8
}
9
9
},
10
10
{
11
11
"git": {
12
12
"name": "synthtool",
13
13
"remote": "https://github.com/googleapis/synthtool.git",
14
- "sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9 "
14
+ "sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279 "
15
15
}
16
16
}
17
17
],
You can’t perform that action at this time.
0 commit comments