diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38c796a..3ccb30f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG_NAME: ${{ github.ref }} # Assumes the tag name is the same as the ref. Adjust if necessary. + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} run: | release_id=$(curl -H "Authorization: token $GITHUB_TOKEN" \ https://api.github.com/repos/${{ github.repository }}/releases/tags/${TAG_NAME} \