Modify buildtestpublish_all.sh

This commit is contained in:
Your Name
2025-06-25 22:42:52 +12:00
parent a5a36c179b
commit f8e0bdc21d

View File

@ -202,25 +202,25 @@ function print_summary() {
# Format build status with colors # Format build status with colors
case "$build_status" in case "$build_status" in
"✓") build_col=$(printf " ${GREEN}${NC} ") ;; "✓") build_col=$(printf " %s✓%s " "$GREEN" "$NC") ;;
"✗") build_col=$(printf " ${RED}${NC} ") ;; "✗") build_col=$(printf " %s✗%s " "$RED" "$NC") ;;
"SKIP") build_col=$(printf " ${YELLOW}-${NC} ") ;; "SKIP") build_col=$(printf " %s-%s " "$YELLOW" "$NC") ;;
*) build_col=" - " ;; *) build_col=" - " ;;
esac esac
# Format test status with colors # Format test status with colors
case "$test_status" in case "$test_status" in
"✓") test_col=$(printf " ${GREEN}${NC} ") ;; "✓") test_col=$(printf " %s✓%s " "$GREEN" "$NC") ;;
"✗") test_col=$(printf " ${RED}${NC} ") ;; "✗") test_col=$(printf " %s✗%s " "$RED" "$NC") ;;
"SKIP") test_col=$(printf " ${YELLOW}-${NC} ") ;; "SKIP") test_col=$(printf " %s-%s " "$YELLOW" "$NC") ;;
*) test_col=" - " ;; *) test_col=" - " ;;
esac esac
# Format publish status with colors # Format publish status with colors
case "$publish_status" in case "$publish_status" in
"✓") publish_col=$(printf " ${GREEN}${NC} ") ;; "✓") publish_col=$(printf " %s✓%s " "$GREEN" "$NC") ;;
"✗") publish_col=$(printf " ${RED}${NC} ") ;; "✗") publish_col=$(printf " %s✗%s " "$RED" "$NC") ;;
"SKIP") publish_col=$(printf " ${YELLOW}-${NC} ") ;; "SKIP") publish_col=$(printf " %s-%s " "$YELLOW" "$NC") ;;
*) publish_col=" - " ;; *) publish_col=" - " ;;
esac esac