From eae9bcbe4665b8a57a95aca13285fdbd0c537c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Urban?= Date: Tue, 27 Feb 2024 21:43:05 +0100 Subject: [PATCH] fix: ci build branch name --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) 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} \