Skip to content

Commit 051513c

Browse files
committed
ci: add/update release workflow
1 parent d10f2c5 commit 051513c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tf-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ jobs:
4949
if: ${{ hashFiles('.releaserc.yml') == '' }}
5050
shell: bash
5151
# TODO rather use a template?
52+
env:
53+
GITHUB_REF_NAME: ${{ github.head_ref || github.ref_name }}
5254
run: |
5355
cat <<EOF > .releaserc.yml
5456
---
55-
branches: ${{ github.head_ref || github.ref_name }}
57+
branches: $GITHUB_REF_NAME
5658
5759
plugins:
5860
- - "@semantic-release/commit-analyzer"

0 commit comments

Comments
 (0)