Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Fix: jq returns string with quotes included (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakethekoenig authored Dec 20, 2023
1 parent 6a02a8a commit e4ffea5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/run_and_upload_benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ aws s3 cp benchmark_repos/exercism-javascript/results.json s3://abante-benchmark

# Send slack notification
JAVASCRIPT_RESULTS_URL="https://abante-benchmark-results.s3.amazonaws.com/exercism-javascript-results-${TIMESTAMP}.html"
curl -X POST -H "Content-Type: application/json" -d "{\"benchmark_report\": \"${JAVASCRIPT_RESULTS_URL}\", \"summary\": \"${SUMMARY}\"}" $SLACK_BENCHMARK_NOTIFICATION_WEBHOOK
curl -X POST -H "Content-Type: application/json" -d "{\"benchmark_report\": \"${JAVASCRIPT_RESULTS_URL}\", \"summary\": ${SUMMARY}}" $SLACK_BENCHMARK_NOTIFICATION_WEBHOOK


#################
Expand All @@ -41,7 +41,7 @@ aws s3 cp benchmark_repos/exercism-python/results.json s3://abante-benchmark-res

# Send slack notification
PYTHON_RESULTS_URL="https://abante-benchmark-results.s3.amazonaws.com/exercism-python-results-${TIMESTAMP}.html"
curl -X POST -H "Content-Type: application/json" -d "{\"benchmark_report\": \"${PYTHON_RESULTS_URL}\", \"summary\": \"${SUMMARY}\"}" $SLACK_BENCHMARK_NOTIFICATION_WEBHOOK
curl -X POST -H "Content-Type: application/json" -d "{\"benchmark_report\": \"${PYTHON_RESULTS_URL}\", \"summary\": ${SUMMARY}}" $SLACK_BENCHMARK_NOTIFICATION_WEBHOOK


#######################
Expand All @@ -56,4 +56,4 @@ aws s3 cp results.json s3://abante-benchmark-results-json/real-world-benchmark-r

# Send slack notification
REAL_WORLD_RESULTS_URL="https://abante-benchmark-results.s3.amazonaws.com/real-world-benchmark-results-${TIMESTAMP}.html"
curl -X POST -H "Content-Type: application/json" -d "{\"benchmark_report\": \"${REAL_WORLD_RESULTS_URL}\", \"summary\": \"${SUMMARY}\"}" $SLACK_BENCHMARK_NOTIFICATION_WEBHOOK
curl -X POST -H "Content-Type: application/json" -d "{\"benchmark_report\": \"${REAL_WORLD_RESULTS_URL}\", \"summary\": ${SUMMARY}}" $SLACK_BENCHMARK_NOTIFICATION_WEBHOOK

0 comments on commit e4ffea5

Please sign in to comment.