diff --git a/.forgejo/workflows/publish-composer.yml b/.forgejo/workflows/publish-composer.yml index 5ca5e9a..da2e823 100644 --- a/.forgejo/workflows/publish-composer.yml +++ b/.forgejo/workflows/publish-composer.yml @@ -27,9 +27,9 @@ jobs: - name: Publish to Forgejo Package Registry run: | - echo "Publishing to https://git.fucktheforce.de/api/packages/${{ github.repository_owner }}/composer?version=${{ github.event.release.tag_name }}" + echo "Publishing to https://git.fucktheforce.de/api/packages/${{ github.repository_owner }}/composer?version=${{ github.ref_name }}" curl --request PUT --fail --silent \ - --url "https://git.fucktheforce.de/api/packages/${{ github.repository_owner }}/composer?version=${{ github.event.release.tag_name }}" \ + --url "https://git.fucktheforce.de/api/packages/${{ github.repository_owner }}/composer?version=${{ github.ref_name }}" \ --header "Authorization: Bearer ${{ secrets.WORKFLOW_TOKEN }}" \ --header "Content-Type: application/zip" \ --data-binary "@package.zip" \ No newline at end of file