Skip to content

Commit

Permalink
update data
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Nov 24, 2024
1 parent 6fad2fe commit 7586d11
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/upload-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,16 @@ jobs:
- name: Create release
shell: bash
run: |
curl -d '{"prerelease": ${{ github.event.release.prerelease }}, "commit_hash": "$GITHUB_SHA", "tag": ${{ github.event.release.tag_name }}, "gd": ${{ steps.release-data.output.PLATFORM_INFO }}}' -H "Content-Type: application/json" -H "Authorization: Bearer ${{ secrets.INDEX_TOKEN }}" https://api.geode-sdk.org/v1/loader/versions
CODE=`curl -d '{"prerelease": ${{ github.event.release.prerelease }}, "commit_hash": "$GITHUB_SHA", "tag": ${{ github.event.release.tag_name }}, "gd": ${{ steps.release-data.output.PLATFORM_INFO }}}' \
--write-out "%{http_code}"
--silent
--output /dev/null
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${{ secrets.GEODE_INDEX_TOKEN }}" \
https://api.geode-sdk.org/v1/loader/versions`
if [ $CODE != "204" ]
then
echo "Request failed with response $CODE"
exit 1
fi

0 comments on commit 7586d11

Please sign in to comment.