Skip to content

Commit

Permalink
eat voersion
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Sep 27, 2024
1 parent f6781c8 commit ef3c919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-ota-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
curl --version
echo curl --fail-with-body -F "[email protected]" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" "${{vars.OTA_UPLOAD_ENDPOINT}}?version=${VERSION}" >xx
cat xx
curl -v --trace --fail-with-body -F "[email protected]" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" "${{vars.OTA_UPLOAD_ENDPOINT}}?version=${VERSION}" >response
curl -v --trace --fail-with-body -F "[email protected]" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" ${{vars.OTA_UPLOAD_ENDPOINT}} >response
cat response
modified=$(echo `jq -r '.modified[]' < response`)
if [ -n "$modified" ] ; then
Expand Down

0 comments on commit ef3c919

Please sign in to comment.