Skip to content

Commit bb4c9c1

Browse files
committed
deploy: exit gracefully if there is nothing to commit
1 parent 5aa4161 commit bb4c9c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ci/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if [ "${TRAVIS}" == "true" ]; then
2828
test git config user.name "BlueRobotics-CI"
2929
fi
3030

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

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

0 commit comments

Comments
 (0)