message: Corrects return values and removes wrong warning
diff: @@ -35,7 +35,7 @@ function check_dockerhub_major {
  # Check if current line was bigger
  if [[ $? == 0 ]]; then
  echo "+ found bigger MINOR: $line > $TRAVIS_TAG"
  - return false
  + return 1
  fi
  else
  echo "+ skipping $line, not same MAJOR"
  @@ -45,7 +45,7 @@ function check_dockerhub_major {
  fi
  done <<< "$EXISTING_TAGS"
  - return true
  + return 0
  }
  echo
  @@ -95,9 +95,8 @@ else
  echo -e "${YELLOW}+ WARNING: will NOT tag Major '${REAL_MAJOR}' and Minor '${REAL_MINOR}', only the full tag '${TRAVIS_TAG}'${NC}"
  else
  echo "+ tag images"
  - echo -e "${YELLOW}+ WARNING: Major tagging is currently not implemented, will skip major tagging"
  check_dockerhub_major
  - if [ $? == true ]; then
  + if [ $? == 0 ]; then
  echo "+ => tagged Major: ${REAL_MAJOR}"
  tag_and_push_api_and_web REAL_MAJOR
  fi
  