From da0a8e910a43ca325e400ebeda3508efa574e6a9 Mon Sep 17 00:00:00 2001 From: JerrySentry Date: Thu, 25 Jan 2024 12:59:11 -0500 Subject: [PATCH] use real file --- bundle_uploader.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundle_uploader.sh b/bundle_uploader.sh index bd5a54b..e5a4116 100755 --- a/bundle_uploader.sh +++ b/bundle_uploader.sh @@ -3,13 +3,13 @@ How to Test Local Things Bundle Analysis #!/usr/bin/env bash # staging -RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token 81325051-5f42-4415-87e8-692a640de455" --data '{"commit": "0f4a922e6f434c1c172145bf75f491b6afffc344", "slug": "JerrySentry::::LocalDev"}' https://stage-api.codecov.dev/upload/bundle_analysis/v1) +# RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token 81325051-5f42-4415-87e8-692a640de455" --data '{"commit": "c3765720cb5581f042721361a433aeaadf6a13fd", "slug": "JerrySentry::::LocalDev"}' https://stage-api.codecov.dev/upload/bundle_analysis/v1) # local -# RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token aad91b00-cfc5-4b4e-be59-af139ec92766" --data '{"commit": "50f88ea5b921082f28135a3ba44869341a9c4773", "slug": "JerrySentry::::LocalDev"}' http://localhost:8000/upload/bundle_analysis/v1) +RES=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: token aad91b00-cfc5-4b4e-be59-af139ec92766" --data '{"commit": "c3765720cb5581f042721361a433aeaadf6a13fd", "slug": "JerrySentry::::LocalDev"}' http://localhost:8000/upload/bundle_analysis/v1) echo $RES URL=$(echo $RES | jq -r '.url') echo $URL -curl -v --upload-file b5.json $URL \ No newline at end of file +curl -v --upload-file b_good.json $URL \ No newline at end of file