Skip to content

Commit

Permalink
Merge pull request #90852 from cockroachdb/blathers/backport-release-…
Browse files Browse the repository at this point in the history
…22.2-89753
  • Loading branch information
nickvigilante authored Nov 28, 2022
2 parents 9d42a7b + ffa1481 commit 64f2246
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/teamcity-diagram-generation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ tc_end_block "Generate Diagrams"
tc_start_block "Push Diagrams to Git"
cd generated-diagrams

changed_diagrams=$(git status --porcelain)
if [ -z "$changed_diagrams" ]
then
echo "No diagrams changed. Exiting."
tc_end_block "Push Diagrams to Git"
exit 0
fi

git add .
git commit -m "Snapshot $cockroach_ref"

Expand Down

0 comments on commit 64f2246

Please sign in to comment.