message: Fix test that checks if javadoc needs to be updated.
  The conditional test is based on the text returned by the command, not
  the return code. So using print_and_do breaks the intended logic.
diff: @@ -174,7 +174,7 @@ publish_javadoc_to_github_pages() {
  print_and_do rm -rf "javadoc/${library_name}/${VERSION}/META-INF/"
  print_and_do git "${GIT_ARGS[@]}" add \
  -f "javadoc/${library_name}/${VERSION}"
  - if [[ "$(print_and_do git "${GIT_ARGS[@]}" status --porcelain)" ]]; then
  + if [[ "$(git "${GIT_ARGS[@]}" status --porcelain)" ]]; then
  # Changes exist.
  do_if_not_dry_run \
  git "${GIT_ARGS[@]}" commit \
  