Skip to content

Commit

Permalink
head_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Jun 6, 2024
1 parent 37d6fdf commit 674e5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Get branch name
id: getbranch
run: echo ::set-output name=BRANCH::${GITHUB_REF#refs/heads/}
run: echo ::set-output name=BRANCH::${GITHUB_HEAD_REF}

# ${{ github.ref }} was not giving v* as tag name, but refs/tags/v* instead, so I had to abbreviate it
- name: Get latest abbreviated tag
Expand Down

0 comments on commit 674e5fe

Please sign in to comment.