Skip to content

Commit

Permalink
deploy: exit gracefully if there is nothing to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxxzer committed Sep 4, 2019
1 parent 5aa4161 commit bb4c9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ "${TRAVIS}" == "true" ]; then
test git config user.name "BlueRobotics-CI"
fi

test git commit -m "update autogenerated files for $(git rev-parse HEAD@{2})"
git commit -m "update autogenerated files for $(git rev-parse HEAD@{2})" || return 0

# deploy
if [ ! -z ${TRAVIS_PULL_REQUEST} ] && [ ${TRAVIS_PULL_REQUEST} == "false" ]; then
Expand Down

0 comments on commit bb4c9c1

Please sign in to comment.