diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 5fb80df..ac24577 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -30,9 +30,11 @@ jobs: - name: Create release! run: | echo """release_id=$(\ - curl -s https://git.joekaufeld.com/api/v1/repos/${GITHUB_REPOSITORY%/*}/${{ github.event.repository.name }}/releases \ + curl -X POST \ + -s https://git.joekaufeld.com/api/v1/repos/${GITHUB_REPOSITORY%/*}/${{ github.event.repository.name }}/releases \ -H "Authorization: token ${{ secrets.PAT }}" \ - -d tag_name=${{ env.CURRENT_TIME_VERSION }} \ + -H 'Content-Type: application/json' \ + -d '{"tag_name":"${{ env.CURRENT_TIME_VERSION }}","name":"${{ env.CURRENT_TIME_VERSION }}","body":"it\'s releasin\' time"}' | python3 -c "import sys, json; print(json.load(sys.stdin)['id'])"\ )""" >> $GITHUB_ENV - name: Upload assets!