fix(ci): directly call API to create release fix

This commit is contained in:
Luke Tainton 2025-01-02 17:54:53 +00:00
parent c4b9bb0714
commit 23a28d2226
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -134,7 +134,8 @@ jobs:
- name: Create release
run: |
curl -X POST -H "Authorization: token ${{ vars.PACKAGES_REGISTRY_PASSWORD }}" \
curl -X POST \
-u "${{ vars.PACKAGES_REGISTRY_USERNAME }}:${{ vars.PACKAGES_REGISTRY_PASSWORD }}" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-d "{\"tag_name\": \"${{ steps.get_next_version.outputs.tag }}\", \"name\": \"${{ steps.get_next_version.outputs.tag }}\", \"body\": \"${{ steps.get_next_version.outputs.changelog }}\"}" \