Skip to content

Commit

Permalink
fix: ci build branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed Feb 27, 2024
1 parent 04b0c67 commit eae9bcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit eae9bcb

Please sign in to comment.